grafana

Show Cloudwatch alarms in Grafana

喜夏-厌秋 提交于 2019-12-13 03:52:10
问题 I want to add a table that shows a list of AWS Cloudwatch alarms for a particular metric. I found this dashboard AWS SNS but that just shows number of SNS messages sent. Is there any way of querying specific Cloudwatch alarms? 回答1: No, current Grafana code and current CloudWatch API doesn't support it. Of course, you can code it on your own. 来源: https://stackoverflow.com/questions/54952667/show-cloudwatch-alarms-in-grafana

grafana variable still catch old metrics info

亡梦爱人 提交于 2019-12-13 03:45:42
问题 i use grafana+prometheus monitor k8s pod,when my pod is removed ,i clean all metrics belongs to the removed pod,but still can see in grafana variable for example ,i defined a variable named node ,the query express is " {instance=~"(.+)", job="node status"} ",it can catch all metrics ,and i use regex expression '/instance="([^"]+):9100"/' to match the ip of each monitor target ,when i click node label on dashboard,it display all target ip , and when one of these targets is removed ,i use http

Offset graphite metrics by the lowest value in current time range

最后都变了- 提交于 2019-12-12 17:13:35
问题 I have Grafana with Graphite metrics. I have a graph showing the EnqueueCount of some specific queue in ActiveMQ. The problem is that the EnqueueCount shows all values since the queue was created, so when I narrow down the time range in Grafana to "today so far", the graph looks like this: I would like it to show only values for current period - I would like the graph to always start at 0. In this case I would like to offset it by -2. There is an offset function, however it is only by

prometheus监控redis,redis-cluster

老子叫甜甜 提交于 2019-12-12 12:52:13
Prometheus监控redis使用的是redis_exporter, 作者GitHub: https://github.com/oliver006/redis_exporter 需要说明的是: redis_exporter 对于redis集群的监控表现不是太好, 作者建议为每个redis 实例启动一个 redis_exporter, 如果一个服务器节点启动了多个redis进程, 就需要启动多个 redis_exporter 如果采用一个redis_exporter 采集多个 redis node 会导致其中一个 redis node 连不上. 1. redis_exporter安装配置 # 下载redis_exporter wget https://github.com/oliver006/redis_exporter/releases/download/v1.3.4/redis_exporter-v1.3.4.linux-amd64.tar.gz # 解压 tar xzf redis_exporter-v1.3.4.linux-amd64.tar.gz # 删除下载的文件 rm -f redis_exporter-v1.3.4.linux-amd64.tar.gz # 安装redis_exporter mv redis_exporter-v1.3.4.linux-amd64

Grafana搭建

会有一股神秘感。 提交于 2019-12-12 10:47:36
Grafana是领先的开源可视化软件工具,无论您的数据在哪里,或者它所处的数据库是什么类型,您都可以将它与Grafana结合在一起,做成精美的可视化图表 Grafana官网:https://grafana.com/Grafana 官方手册:https://grafana.com/docs/ Grafana安装 上传Grafana安装包或者下载rpm安装包到服务器,执行如下命令安装: 配置yum源 Add the following to a new file at /etc/yum.repos.d/grafana.repo 1.[grafana] 2.name=grafana 3.baseurl=https://packages.grafana.com/oss/rpm-beta 4.repo_gpgcheck=1 5.enabled=1 6.gpgcheck=1 7.gpgkey=https://packages.grafana.com/gpg.key 8.sslverify=1 9.sslcacert=/etc/pki/tls/certs/ca-bundle.crt sudo yum install grafana 启动grafana-server systemctl start grafana-server systemctl status grafana-server

No response from Grafana via AJAX

若如初见. 提交于 2019-12-12 07:24:43
问题 I have Grafana set up in a Docker container ( grafana/grafana image from Docker repo) with port 3000 forwarded to my localhost. My docker-compose.yml below: version: '2.1' services: grafana: image: grafana/grafana ports: - 3000:3000 Originally I also have link to Graphite and some volumes and environment configuration ( GF_SECURITY_ADMIN_PASSWORD only) but I suppose it does not matter. I can get a response from Grafana via simple curl call: $ curl http://localhost:3000 <a href="/login">Found<

Graph for individual sampler throughput in grafana using jmeter and influx db

旧时模样 提交于 2019-12-12 01:38:07
问题 Im trying to graph throughput of individual samplers i have in jmeter ,in grafana using influx db. Bellow is my jmeter test with 3 thread group having dummy sampler. 1. 2. 3. According to how jmeter calculates throughput , throughput for very first second should be 10 and after 10 seconds throughput should be 2 ,similarly after 20 sec throughput should be 5. I've attached influx db Screenshot bellow Using this im plotting graph in grafana: Bellow is what i've got: However in graph as you can

Grafana won't display Solr metrics

柔情痞子 提交于 2019-12-11 18:48:41
问题 I have installed Grafana and configured it to display data from my Solr servers' metrics. However, no data can be displayed. I keep getting this message from the console: msg="appending scrape report failed" err="out of bounds "Screenshot from the console How would I solve this problem and get Grafana to display the metrics from Solr? Thanks 回答1: My configuration, it works.... into prometheus.yml scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] Into SOLR

prometheus 网络线路监控

若如初见. 提交于 2019-12-11 17:38:24
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Grafana Grafana 是开源的,功能齐全的度量仪表盘和图形编辑器,支持 Graphite,OpenTSDB,Elasticsearch,Cloudwatch,Prometheus,InfluxDB,小米监控 等。 安装 分别安装grafana、prometheus、blackbox_exporter,安装文档参考官网。 配置 prometheus 配置和运行 在prometheus的配置文件 prometheus.yml 中增加一个新的job - job_name: 'ping_all' scrape_interval: 5s metrics_path: /probe params: module: [icmp] #ping static_configs: - targets: ['114.114.114.114', '8.8.8.8'] labels: group: '一线城市-电信网络监控' - targets: ['14.215.177.38'] labels: group: '一线城市-联通网络监控' - targets: ['14.18.175.154'] labels: group: '一线城市-移动网络监控' grafana 配置和运行 运行grafana 在 grafana中增加

How to get the average over time only during the day in Prometheus

风流意气都作罢 提交于 2019-12-11 15:57:56
问题 I'm currently trying to get the average percentage usage of RAM in the last month with the following query : 100 - ((avg_over_time(node_memory_MemAvailable_bytes{instance="...",job="..."}[4w]) * 100) / node_memory_MemTotal_bytes{instance="...",job="..."}) The query is working correctly, but now I would like to filter out the values that were collected during the night, in order to have a real usage percentage during the day : is it possible to get the average of the values collected only