mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
Single dashboards upd (#1593)
* dasbhoard: replace `null` datasources null datasource value may confuse Grafana and make it drop panel query in some versions. * docker: bump grafana image version * dashboards: add URL variable selector to vmagent dashboard * dashboards: add new panel `Remote write connection saturation` to vmagent dashboard * alerts: add new alert for `Remote write connection saturation` panel of vmagent dashboard * dashboards: add "Logging rate" panel to vmagent dashboard
This commit is contained in:
parent
de26b1d4a2
commit
0f4bcc00b2
4 changed files with 597 additions and 350 deletions
|
@ -91,7 +91,7 @@
|
||||||
"id": 6,
|
"id": 6,
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
"datasource": null,
|
"datasource": "$ds",
|
||||||
"description": "",
|
"description": "",
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 2,
|
"h": 2,
|
||||||
|
@ -373,7 +373,7 @@
|
||||||
"type": "stat"
|
"type": "stat"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": null,
|
"datasource": "$ds",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"color": {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -248,3 +248,16 @@ groups:
|
||||||
description: "Vmagent fails to push data via remote write protocol to destination \"{{ $labels.url }}\"\n
|
description: "Vmagent fails to push data via remote write protocol to destination \"{{ $labels.url }}\"\n
|
||||||
Ensure that destination is up and reachable."
|
Ensure that destination is up and reachable."
|
||||||
|
|
||||||
|
- alert: RemoteWriteConnectionIsSaturated
|
||||||
|
expr: rate(vmagent_remotewrite_send_duration_seconds_total[5m]) > 0.9
|
||||||
|
for: 15m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
dashboard: "http://localhost:3000/d/G7Z9GzMGz?viewPanel=84&var-instance={{ $labels.instance }}"
|
||||||
|
summary: "Remote write connection from \"{{ $labels.job }}\" (instance {{ $labels.instance }}) to {{ $labels.url }} is saturated"
|
||||||
|
description: "The remote write connection between vmagent \"{{ $labels.job }}\" (instance {{ $labels.instance }}) and destination \"{{ $labels.url }}\"
|
||||||
|
is saturated by more than 90% and vmagent won't be able to keep up.\n
|
||||||
|
This usually means that `-remoteWrite.queues` command-line flag must be increased in order to increase
|
||||||
|
the number of connections per each remote storage."
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
grafana:
|
grafana:
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
image: grafana/grafana:8.0.0
|
image: grafana/grafana:8.1.2
|
||||||
depends_on:
|
depends_on:
|
||||||
- "victoriametrics"
|
- "victoriametrics"
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue