grafana-variable

Grafana Dashboard show/hide row based on variable value

痞子三分冷 提交于 2021-02-19 02:39:07
问题 So, I have a Grafana dashboard to show the logs of various services running inside a host. Now, I have different rows for different service because metrics and there titles are specific to the service - Such as for Apache Service, we have log metrics based on HTTP STATUS CODE, for Oracle Database Service, we have ORA-* distribution, connection partition /trend etc. Now, My question is simple that the Grafana dashboard supports repeat on rows and individual metrics. How can I use this feature

PromQL query to find the duration of each firing alert

给你一囗甜甜゛ 提交于 2020-12-15 06:09:34
问题 I am creating a Grafana dashboard to see the total alert count for each firing alert and the duration ( means it should capture how long alerts have been firing state). PromQL query used to capture the total alert count is as follows, count by (alertname,customerName) (changes(customer_ALERTS[24h])) Idea is to add two more column in the Grafana table panel having the alert count and the duration Now i need to get the query to capture the duration for each alerts. Can somebody please share

PromQL query to find the duration of each firing alert

佐手、 提交于 2020-12-15 06:09:27
问题 I am creating a Grafana dashboard to see the total alert count for each firing alert and the duration ( means it should capture how long alerts have been firing state). PromQL query used to capture the total alert count is as follows, count by (alertname,customerName) (changes(customer_ALERTS[24h])) Idea is to add two more column in the Grafana table panel having the alert count and the duration Now i need to get the query to capture the duration for each alerts. Can somebody please share