Add floor to queries
Related-PROD: PROD-27906
Change-Id: I68e4d94ad0bbdeaecbe9c0888a0e47908e3dacb1
diff --git a/grafana/files/dashboards/prometheus/kpi_provisioning_prometheus.json b/grafana/files/dashboards/prometheus/kpi_provisioning_prometheus.json
index 202c529..2f45a39 100644
--- a/grafana/files/dashboards/prometheus/kpi_provisioning_prometheus.json
+++ b/grafana/files/dashboards/prometheus/kpi_provisioning_prometheus.json
@@ -176,7 +176,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "increase(compute_instance_create_start_event_doc_count{environment=\"$environment\"}[$time_frame])",
+ "expr": "floor(increase(compute_instance_create_start_event_doc_count{environment=\"$environment\"}[$time_frame]))",
"format": "time_series",
"interval": "30s",
"intervalFactor": 1,
@@ -260,7 +260,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "increase(compute_instance_create_end_event_doc_count{environment=\"$environment\"}[$time_frame])",
+ "expr": "floor(increase(compute_instance_create_end_event_doc_count{environment=\"$environment\"}[$time_frame]))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -345,7 +345,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "increase(compute_instance_create_error_event_doc_count{environment=\"$environment\"}[$time_frame])",
+ "expr": "floor(increase(compute_instance_create_error_event_doc_count{environment=\"$environment\"}[$time_frame]))",
"format": "time_series",
"hide": false,
"intervalFactor": 1,