overview dashboard: Show offending instance in error log rate graph

pull/151/head
Mike Lang 5 years ago
parent 249e32583b
commit 77f23d775a

@ -353,9 +353,9 @@
"targets": [
{
"intervalFactor": 1,
"expr": "sum(irate(log_count_total{level!=\"INFO\"}[2m])) by (job, level, module, function) > 0\n",
"expr": "sum(irate(log_count_total{level!=\"INFO\"}[2m])) by (instance, job, level, module, function) > 0\n",
"refId": "A",
"legendFormat": "{{job}} {{level}}({{module}}:{{function}})",
"legendFormat": "{{instance}} {{job}} {{level}}({{module}}:{{function}})",
"format": "time_series"
}
],

@ -122,8 +122,8 @@ grafana.dashboard({
axis: {min: 0, label: "logs / sec"},
display: "bars",
expressions: {
"{{job}} {{level}}({{module}}:{{function}})": |||
sum(irate(log_count_total{level!="INFO"}[2m])) by (job, level, module, function) > 0
"{{instance}} {{job}} {{level}}({{module}}:{{function}})": |||
sum(irate(log_count_total{level!="INFO"}[2m])) by (instance, job, level, module, function) > 0
|||,
},
},

Loading…
Cancel
Save