Add floor to queries
Change-Id: I3e51d657df579ed405bdb2060fa0f8ae047bf21b
Related-PROD: PROD-27906
diff --git a/prometheus/files/grafana_dashboards/kpi_provisioning_prometheus.json b/prometheus/files/grafana_dashboards/kpi_provisioning_prometheus.json
index 7abdc2e..b96d270 100644
--- a/prometheus/files/grafana_dashboards/kpi_provisioning_prometheus.json
+++ b/prometheus/files/grafana_dashboards/kpi_provisioning_prometheus.json
@@ -176,7 +176,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "increase(compute_instance_create_start_event_doc_count[$time_frame])",
+ "expr": "floor(increase(compute_instance_create_start_event_doc_count[$time_frame]))",
"format": "time_series",
"interval": "30s",
"intervalFactor": 1,
@@ -260,7 +260,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "increase(compute_instance_create_end_event_doc_count[$time_frame])",
+ "expr": "floor(increase(compute_instance_create_end_event_doc_count[$time_frame]))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -345,7 +345,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "increase(compute_instance_create_error_event_doc_count[$time_frame])",
+ "expr": "floor(increase(compute_instance_create_error_event_doc_count[$time_frame]))",
"format": "time_series",
"hide": false,
"intervalFactor": 1,