From 1cd356765e20f7193813604cbbec94cc88668cb2 Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Thu, 26 Nov 2020 18:41:20 +0100 Subject: Update example prometheus console (#8824) Signed-off-by: Dirk Klimpel dirk@klimpel.org --- changelog.d/8824.doc | 1 + contrib/prometheus/consoles/synapse.html | 101 +++++++++++++++---------------- 2 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 changelog.d/8824.doc diff --git a/changelog.d/8824.doc b/changelog.d/8824.doc new file mode 100644 index 0000000000..683b436328 --- /dev/null +++ b/changelog.d/8824.doc @@ -0,0 +1 @@ +Update example prometheus console. \ No newline at end of file diff --git a/contrib/prometheus/consoles/synapse.html b/contrib/prometheus/consoles/synapse.html index 69aa87f85e..cd9ad15231 100644 --- a/contrib/prometheus/consoles/synapse.html +++ b/contrib/prometheus/consoles/synapse.html @@ -9,7 +9,7 @@ new PromConsole.Graph({ node: document.querySelector("#process_resource_utime"), expr: "rate(process_cpu_seconds_total[2m]) * 100", - name: "[[job]]", + name: "[[job]]-[[index]]", min: 0, max: 100, renderer: "line", @@ -22,12 +22,12 @@ new PromConsole.Graph({