From c58e6840e15ad232a5f7db2f5cc8c67f4ddea442 Mon Sep 17 00:00:00 2001 From: jianrongzhang89 Date: Fri, 20 Dec 2024 20:49:39 -0500 Subject: [PATCH] [issue 465]Create a documentation section to use Grafana DataSource with SonataFlow Prometheus metrics: address review comments --- .../operator/grafana-dashbord-example.adoc | 32 +++---------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/serverlessworkflow/modules/ROOT/pages/cloud/operator/grafana-dashbord-example.adoc b/serverlessworkflow/modules/ROOT/pages/cloud/operator/grafana-dashbord-example.adoc index f15b95032..6dd0a8ba0 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/operator/grafana-dashbord-example.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/operator/grafana-dashbord-example.adoc @@ -1,10 +1,8 @@ -[source, json] ----- { "__inputs": [ { "name": "DS_PROMETHEUS", - "label": "prometheus", + "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", @@ -1093,8 +1091,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1192,8 +1189,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1468,23 +1464,6 @@ "skipUrlSync": false, "sort": 1, "type": "query" - }, - { - "datasource": { - "type": "prometheus", - "uid": "093c6eb7-1dcd-4b66-afa2-68691888f1d8" - }, - "filters": [ - { - "key": "process_id", - "operator": "=", - "value": "greeting" - } - ], - "hide": 0, - "name": "Filters", - "skipUrlSync": false, - "type": "adhoc" } ] }, @@ -1496,7 +1475,6 @@ "timezone": "browser", "title": "Workflows", "uid": "ae4jtpwnm76rka", - "version": 3, + "version": 1, "weekStart": "" -} ----- \ No newline at end of file +} \ No newline at end of file