dashboards/vmagent: fix legend captions for stream aggregation related panels.

Before they were displaying wrong label names.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2024-09-03 14:23:35 +02:00
parent 91456ab5bb
commit 4dcb6a3719
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640
3 changed files with 16 additions and 14 deletions

View file

@ -5088,7 +5088,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "sum(rate(vm_streamaggr_matched_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0", "expr": "sum(rate(vm_streamaggr_matched_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5184,7 +5184,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "sum(rate(vm_streamaggr_ignored_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0) without (instance, pod)", "expr": "sum(rate(vm_streamaggr_ignored_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0) without (instance, pod)",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5286,7 +5286,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "sum(rate(vm_streamaggr_output_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0", "expr": "sum(rate(vm_streamaggr_output_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; output={{output}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5383,7 +5383,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "increase(vm_streamaggr_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0", "expr": "increase(vm_streamaggr_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0",
"instant": false, "instant": false,
"legendFormat": "aggregation: {{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "aggregation: {{url}} ({{job}}): {{path}}:{{position}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
}, },
@ -5396,7 +5396,7 @@
"expr": "increase(vm_streamaggr_dedup_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0", "expr": "increase(vm_streamaggr_dedup_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0",
"hide": false, "hide": false,
"instant": false, "instant": false,
"legendFormat": "deduplication: {{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "deduplication: {{url}} ({{job}}): {{path}}:{{position}}",
"range": true, "range": true,
"refId": "B" "refId": "B"
} }
@ -5494,7 +5494,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, sum(rate(vm_streamaggr_samples_lag_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod))", "expr": "histogram_quantile(0.99, sum(rate(vm_streamaggr_samples_lag_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod))",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5591,7 +5591,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(vm_streamaggr_dedup_flush_duration_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]))", "expr": "histogram_quantile(0.99, rate(vm_streamaggr_dedup_flush_duration_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]))",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }

View file

@ -5087,7 +5087,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "sum(rate(vm_streamaggr_matched_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0", "expr": "sum(rate(vm_streamaggr_matched_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5183,7 +5183,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "sum(rate(vm_streamaggr_ignored_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0) without (instance, pod)", "expr": "sum(rate(vm_streamaggr_ignored_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0) without (instance, pod)",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5285,7 +5285,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "sum(rate(vm_streamaggr_output_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0", "expr": "sum(rate(vm_streamaggr_output_samples_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod) > 0",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; output={{output}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5382,7 +5382,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "increase(vm_streamaggr_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0", "expr": "increase(vm_streamaggr_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0",
"instant": false, "instant": false,
"legendFormat": "aggregation: {{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "aggregation: {{url}} ({{job}}): {{path}}:{{position}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
}, },
@ -5395,7 +5395,7 @@
"expr": "increase(vm_streamaggr_dedup_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0", "expr": "increase(vm_streamaggr_dedup_flush_timeouts_total{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]) > 0",
"hide": false, "hide": false,
"instant": false, "instant": false,
"legendFormat": "deduplication: {{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "deduplication: {{url}} ({{job}}): {{path}}:{{position}}",
"range": true, "range": true,
"refId": "B" "refId": "B"
} }
@ -5493,7 +5493,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, sum(rate(vm_streamaggr_samples_lag_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod))", "expr": "histogram_quantile(0.99, sum(rate(vm_streamaggr_samples_lag_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) without (instance, pod))",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
@ -5590,7 +5590,7 @@
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(vm_streamaggr_dedup_flush_duration_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]))", "expr": "histogram_quantile(0.99, rate(vm_streamaggr_dedup_flush_duration_seconds_bucket{job=~\"$job\",instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]))",
"instant": false, "instant": false,
"legendFormat": "{{url}} ({{job}}): match={{match}}; outputs={{outputs}}", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }

View file

@ -22,6 +22,8 @@ See also [LTS releases](https://docs.victoriametrics.com/lts-releases/).
* FEATURE [stream aggregation](https://docs.victoriametrics.com/stream-aggregation/): perform deduplication for all received data when specifying `-streamAggr.dedupInterval` or `-remoteWrite.streamAggr.dedupInterval` command-line flags are set. Previously, if the `-remoteWrite.streamAggr.config` or `-streamAggr.config` is set, only series that matched aggregation config were deduplicated. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6711#issuecomment-2288361213) for details. * FEATURE [stream aggregation](https://docs.victoriametrics.com/stream-aggregation/): perform deduplication for all received data when specifying `-streamAggr.dedupInterval` or `-remoteWrite.streamAggr.dedupInterval` command-line flags are set. Previously, if the `-remoteWrite.streamAggr.config` or `-streamAggr.config` is set, only series that matched aggregation config were deduplicated. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6711#issuecomment-2288361213) for details.
* BUGFIX: [vmagent dashboard](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/dashboards/vmagent.json): fix legend captions for stream aggregation related panels. Before they were displaying wrong label names.
## [v1.103.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.103.0) ## [v1.103.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.103.0)
Released at 2024-08-28 Released at 2024-08-28