Skip to content

Commit

Permalink
don't display metric series with zeroes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcoburn committed Mar 7, 2024
1 parent eeb453d commit cf6b7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboards/MySQL/MySQL_InnoDB_Details.json
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@
"calculatedInterval": "2m",
"datasourceErrors": {},
"errors": {},
"expr": "avg by (service_name,operation) (rate(mysql_global_status_innodb_row_ops_total{service_name=~\"$service_name\",operation!=\"read\"}[$interval]) or irate(mysql_global_status_innodb_row_ops_total{service_name=~\"$service_name\",operation!=\"read\"}[5m]))",
"expr": "avg by (service_name,operation) (rate(mysql_global_status_innodb_row_ops_total{service_name=~\"$service_name\",operation!=\"read\"}[$interval]) or irate(mysql_global_status_innodb_row_ops_total{service_name=~\"$service_name\",operation!=\"read\"}[5m])) > 0",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
Expand Down

0 comments on commit cf6b7d7

Please sign in to comment.