2021-08-31 11:28:02 +02:00
{
"__inputs" : [ ] ,
2022-11-29 19:26:31 +01:00
"__elements" : { } ,
2021-08-31 11:28:02 +02:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-04-29 12:10:24 +02:00
"version" : "10.4.2"
2021-08-31 11:28:02 +02:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
2022-09-16 21:24:32 +02:00
"id" : "table" ,
"name" : "Table" ,
2021-08-31 11:28:02 +02:00
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
2022-09-16 21:24:32 +02:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
2021-08-31 11:28:02 +02:00
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
"type" : "dashboard"
2022-12-12 16:32:26 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"enable" : true ,
2024-05-22 16:32:51 +02:00
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(short_version) unless (sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"} offset $__interval) by(short_version))" ,
2022-12-12 16:32:26 +01:00
"hide" : true ,
"iconColor" : "dark-blue" ,
"name" : "version" ,
"textFormat" : "{{short_version}}" ,
"titleFormat" : "Version change"
2023-03-10 17:13:19 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"enable" : true ,
2024-05-22 16:32:51 +02:00
"expr" : "sum(changes(vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(job, instance)" ,
2023-03-10 17:13:19 +01:00
"iconColor" : "dark-yellow" ,
"name" : "restarts" ,
"textFormat" : "{{job}}:{{instance}} restarted"
2021-08-31 11:28:02 +02:00
}
]
} ,
2024-05-22 10:52:51 +02:00
"description" : "Overview for VictoriaMetrics vmalert v1.102.0 or higher" ,
2021-08-31 11:28:02 +02:00
"editable" : true ,
2022-02-15 10:54:28 +01:00
"fiscalYearStartMonth" : 0 ,
2021-08-31 11:28:02 +02:00
"graphTooltip" : 1 ,
"id" : null ,
"links" : [
{
"asDropdown" : false ,
"icon" : "external link" ,
"includeVars" : false ,
"keepTime" : false ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "vmalert docs" ,
"tooltip" : "" ,
"type" : "link" ,
2024-04-18 01:44:12 +02:00
"url" : "https://docs.victoriametrics.com/vmalert/"
2021-08-31 11:28:02 +02:00
} ,
{
"asDropdown" : false ,
"icon" : "external link" ,
"includeVars" : false ,
"keepTime" : false ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Found a bug?" ,
"tooltip" : "" ,
"type" : "link" ,
"url" : " https://github.com/VictoriaMetrics/VictoriaMetrics/issues"
} ,
{
"asDropdown" : false ,
"icon" : "external link" ,
"includeVars" : false ,
"keepTime" : false ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "New releases" ,
"tooltip" : "" ,
"type" : "link" ,
"url" : " https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
2022-02-15 10:54:28 +01:00
"liveNow" : false ,
2021-08-31 11:28:02 +02:00
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
2022-11-29 19:26:31 +01:00
"id" : 47 ,
2021-08-31 11:28:02 +02:00
"panels" : [ ] ,
2022-11-29 19:26:31 +01:00
"title" : "Stats" ,
2021-08-31 11:28:02 +02:00
"type" : "row"
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"description" : "Shows if the last configuration update was successful. \"Not Ok\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details." ,
"fieldConfig" : {
"defaults" : {
"mappings" : [
{
"options" : {
"0" : {
"color" : "green" ,
"index" : 0 ,
"text" : "Ok"
}
} ,
"type" : "value"
} ,
{
"options" : {
"from" : 1 ,
"result" : {
"color" : "red" ,
"index" : 1 ,
"text" : "Not Ok"
} ,
"to" : 999999
} ,
"type" : "range"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2024-04-29 12:10:24 +02:00
}
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
2022-11-29 19:26:31 +01:00
"w" : 4 ,
2021-08-31 11:28:02 +02:00
"x" : 0 ,
"y" : 1
} ,
"id" : 6 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"last"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2021-08-31 11:28:02 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2021-08-31 11:28:02 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
"expr" : "count(vmalert_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 ) or 0" ,
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Config update" ,
2021-08-31 11:28:02 +02:00
"type" : "stat"
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Shows the total number of loaded alerting rules across selected instances and groups." ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2021-08-31 11:28:02 +02:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2022-11-29 19:26:31 +01:00
}
]
2024-04-29 12:10:24 +02:00
}
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 5 ,
"x" : 4 ,
"y" : 1
} ,
"id" : 9 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"last"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2022-11-29 19:26:31 +01:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-29 19:26:31 +01:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2022-11-29 19:26:31 +01:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "count(vmalert_alerting_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"})" ,
2022-11-29 19:26:31 +01:00
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Alerting rules" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the total number of loaded recording rules across selected instances and groups." ,
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2022-11-29 19:26:31 +01:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
2021-08-31 11:28:02 +02:00
{
2022-11-29 19:26:31 +01:00
"color" : "green" ,
"value" : null
2021-08-31 11:28:02 +02:00
}
]
2024-04-29 12:10:24 +02:00
}
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
2022-11-29 19:26:31 +01:00
"w" : 5 ,
"x" : 9 ,
2021-08-31 11:28:02 +02:00
"y" : 1
} ,
2022-11-29 19:26:31 +01:00
"id" : 7 ,
2021-08-31 11:28:02 +02:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"last"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2021-08-31 11:28:02 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2021-08-31 11:28:02 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"})" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Recording rules" ,
2021-08-31 11:28:02 +02:00
"type" : "stat"
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Shows the total number of errors generated by recording/alerting rules for selected instances and groups." ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2021-08-31 11:28:02 +02:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 1
2021-08-31 11:28:02 +02:00
}
]
2024-04-29 12:10:24 +02:00
}
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
2022-11-29 19:26:31 +01:00
"w" : 5 ,
"x" : 14 ,
2021-08-31 11:28:02 +02:00
"y" : 1
} ,
2022-11-29 19:26:31 +01:00
"id" : 8 ,
2021-08-31 11:28:02 +02:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"last"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2021-08-31 11:28:02 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2021-08-31 11:28:02 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "(sum(increase(vmalert_alerting_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) or vector(0)) + \n(sum(increase(vmalert_recording_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) or vector(0))" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Errors" ,
2021-08-31 11:28:02 +02:00
"type" : "stat"
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Shows number of Recording Rules which produce no data.\n\n Usually it means that such rules are misconfigured, since they give no output during the evaluation.\nPlease check if rule's expression is correct and it is working as expected." ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2021-08-31 11:28:02 +02:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 1
2021-08-31 11:28:02 +02:00
}
]
2024-04-29 12:10:24 +02:00
}
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
2022-11-29 19:26:31 +01:00
"w" : 5 ,
"x" : 19 ,
2021-08-31 11:28:02 +02:00
"y" : 1
} ,
2022-11-29 19:26:31 +01:00
"id" : 48 ,
2021-08-31 11:28:02 +02:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"last"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2021-08-31 11:28:02 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2021-08-31 11:28:02 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2023-10-17 09:40:39 +02:00
"expr" : "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\"} < 1) or 0" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
"legendFormat" : "" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "No data errors" ,
2021-08-31 11:28:02 +02:00
"type" : "stat"
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-09-16 21:24:32 +02:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-09-16 21:24:32 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
2024-02-02 15:41:08 +01:00
"cellOptions" : {
"type" : "auto"
} ,
2022-09-16 21:24:32 +02:00
"inspect" : false ,
"minWidth" : 50
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-04-29 12:10:24 +02:00
}
2022-09-16 21:24:32 +02:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Count"
}
]
}
]
2021-08-31 11:28:02 +02:00
} ,
2022-09-16 21:24:32 +02:00
"gridPos" : {
"h" : 4 ,
"w" : 9 ,
"x" : 0 ,
"y" : 4
2021-08-31 11:28:02 +02:00
} ,
2022-09-16 21:24:32 +02:00
"id" : 45 ,
"options" : {
2024-02-02 15:41:08 +01:00
"cellHeight" : "sm" ,
2022-09-16 21:24:32 +02:00
"footer" : {
2024-02-02 15:41:08 +01:00
"countRows" : false ,
2022-09-16 21:24:32 +02:00
"fields" : "" ,
"reducer" : [
"sum"
2021-08-31 11:28:02 +02:00
] ,
2022-09-16 21:24:32 +02:00
"show" : false
2021-08-31 11:28:02 +02:00
} ,
2022-09-16 21:24:32 +02:00
"showHeader" : true
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-09-16 21:24:32 +02:00
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(job, short_version)" ,
2021-08-31 11:28:02 +02:00
"format" : "table" ,
"instant" : true ,
2022-09-16 21:24:32 +02:00
"range" : false ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-09-16 21:24:32 +02:00
"type" : "table"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
2022-11-29 19:26:31 +01:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "stepAfter" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2022-09-16 21:24:32 +02:00
"w" : 15 ,
"x" : 9 ,
2021-08-31 11:28:02 +02:00
"y" : 4
} ,
"id" : 4 ,
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "asc"
}
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-11-29 19:26:31 +01:00
"expr" : "sum(min_over_time(up{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (job)" ,
2021-08-31 11:28:02 +02:00
"format" : "time_series" ,
"instant" : false ,
"interval" : "" ,
2022-11-29 19:26:31 +01:00
"legendFormat" : "{{job}}" ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
"title" : "Uptime" ,
2022-11-29 19:26:31 +01:00
"type" : "timeseries"
} ,
{
"collapsed" : false ,
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 8
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 11 ,
"panels" : [ ] ,
"targets" : [
2021-08-31 11:28:02 +02:00
{
2022-11-29 19:26:31 +01:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"refId" : "A"
2021-08-31 11:28:02 +02:00
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Overview ($instance)" ,
"type" : "row"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Shows the number of fired alerts by job." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2022-11-29 19:26:31 +01:00
"y" : 9
2021-08-31 11:28:02 +02:00
} ,
"id" : 15 ,
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-11-29 19:26:31 +01:00
"expr" : "sum(increase(vmalert_alerts_fired_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2022-11-29 19:26:31 +01:00
"legendFormat" : "{{job}}" ,
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Alerts fired total ($instance)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Top $topk groups by evaluation duration. Shows groups that take the most of time during the evaluation across all instances.\n\nThe panel uses MetricsQL functions and may not work with Prometheus." ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
2022-11-29 19:26:31 +01:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "s"
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-11-29 19:26:31 +01:00
"y" : 9
2021-08-31 11:28:02 +02:00
} ,
"id" : 23 ,
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "topk_max($topk, max(sum(\n rate(vmalert_iteration_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])\n/\n rate(vmalert_iteration_duration_seconds_count{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])\n) by(job, instance, group, file)) \nby(job, group, file))" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Top $topk groups avg evaluation duration ($group)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"description" : "Shows how many requests (executions) per second vmalert sends to the configured datasource." ,
2022-11-29 19:26:31 +01:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-11-13 01:56:17 +01:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 17
} ,
"id" : 24 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-11-29 19:26:31 +01:00
"expr" : "sum(rate(vmalert_execution_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (job)" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2022-11-29 19:26:31 +01:00
"legendFormat" : "{{job}}" ,
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
"title" : "Rules execution rate ($instance)" ,
2022-11-29 19:26:31 +01:00
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-09-16 21:24:32 +02:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"description" : "Shows the error rate while executing configured rules. Non-zero value means there are some issues with existing rules. Check the logs to get more details." ,
2022-11-29 19:26:31 +01:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-11-13 01:56:17 +01:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-11-29 19:26:31 +01:00
"y" : 17
2021-08-31 11:28:02 +02:00
} ,
"id" : 25 ,
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-11-29 19:26:31 +01:00
"expr" : "sum(rate(vmalert_execution_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2022-11-29 19:26:31 +01:00
"legendFormat" : "__auto" ,
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
"title" : "Rules execution errors ($instance)" ,
2022-11-29 19:26:31 +01:00
"type" : "timeseries"
} ,
2021-08-31 11:28:02 +02:00
{
"collapsed" : true ,
2022-09-16 21:24:32 +02:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 25
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 43 ,
2021-08-31 11:28:02 +02:00
"panels" : [
2023-08-03 11:14:14 +02:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "The precentage of used RSS memory\n\nIf you think that usage is abnormal or unexpected, please file an issue and attach memory profile if possible." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-03 11:14:14 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-03 11:14:14 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-03 11:14:14 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-03 11:14:14 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 11
2023-08-03 11:14:14 +02:00
} ,
"id" : 37 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Profiling" ,
2024-04-18 01:36:13 +02:00
"url" : "https://docs.victoriametrics.com/vmagent/#profiling"
2023-08-03 11:14:14 +02:00
}
] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2023-08-03 11:14:14 +02:00
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"}\n) by(job)" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Memory usage % ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Amount of used RSS memory\n\nIf you think that usage is abnormal or unexpected, please file an issue and attach memory profile if possible." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-03 11:14:14 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-03 11:14:14 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2023-08-03 11:14:14 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "bytes"
2023-08-03 11:14:14 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 11
2023-08-03 11:14:14 +02:00
} ,
"id" : 57 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Profiling" ,
2024-04-18 01:36:13 +02:00
"url" : "https://docs.victoriametrics.com/vmagent/#profiling"
2023-08-03 11:14:14 +02:00
}
] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2023-08-03 11:14:14 +02:00
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n) by(job)" ,
"interval" : "" ,
"legendFormat" : "{{job}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Memory usage ($instance)" ,
"type" : "timeseries"
} ,
2021-08-31 11:28:02 +02:00
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Shows the CPU usage percentage per vmalert instance. \nIf you think that usage is abnormal or unexpected pls file an issue and attach CPU profile if possible." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "percentunit" ,
"unitScale" : true
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 19
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 35 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Profiling" ,
2024-04-18 01:36:13 +02:00
"url" : "https://docs.victoriametrics.com/vmagent/#profiling"
2022-11-29 19:26:31 +01:00
}
] ,
2021-08-31 11:28:02 +02:00
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-11-29 19:26:31 +01:00
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]) \n / \n vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"}\n) by(job)" ,
"format" : "time_series" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2022-11-29 19:26:31 +01:00
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}" ,
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "CPU usage %($instance)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2023-08-03 11:14:14 +02:00
"description" : "Shows the max number of CPU cores used by a `job` and the corresponding limit." ,
2022-11-29 19:26:31 +01:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "short" ,
"unitScale" : true
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 19
2021-08-31 11:28:02 +02:00
} ,
2023-08-03 11:14:14 +02:00
"id" : 56 ,
2022-11-29 19:26:31 +01:00
"links" : [
{
"targetBlank" : true ,
"title" : "Profiling" ,
2024-04-18 01:36:13 +02:00
"url" : "https://docs.victoriametrics.com/vmagent/#profiling"
2022-11-29 19:26:31 +01:00
}
] ,
2021-08-31 11:28:02 +02:00
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2023-08-03 11:14:14 +02:00
"sort" : "desc"
2022-11-29 19:26:31 +01:00
}
} ,
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2023-08-03 11:14:14 +02:00
"expr" : "max(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
"format" : "time_series" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2023-08-03 11:14:14 +02:00
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
2023-08-03 11:14:14 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "min(process_cpu_cores_available{job=~\"$job\", instance=~\"$instance\"}) by(job)" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "limit ({{job}})" ,
"range" : true ,
"refId" : "B"
2021-08-31 11:28:02 +02:00
}
] ,
2023-08-03 11:14:14 +02:00
"title" : "CPU usage ($instance)" ,
2022-11-29 19:26:31 +01:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Panel shows the percentage of open file descriptors in the OS.\nReaching the limit of open files can cause various issues and must be prevented.\n\nSee how to change limits here https://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429a" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 3 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "percentunit" ,
"unitScale" : true
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 27
2022-11-29 19:26:31 +01:00
} ,
"id" : 39 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2022-11-29 19:26:31 +01:00
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
2021-08-31 11:28:02 +02:00
{
2022-11-29 19:26:31 +01:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n max_over_time(process_open_fds{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_max_fds{job=~\"$job\", instance=~\"$instance\"}\n) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
2021-08-31 11:28:02 +02:00
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Open FDs usage % ($instance)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2022-11-29 19:26:31 +01:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "short" ,
"unitScale" : true
2022-11-29 19:26:31 +01:00
} ,
"overrides" : [ ]
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 19:26:31 +01:00
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 27
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 41 ,
"links" : [ ] ,
2021-08-31 11:28:02 +02:00
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Goroutines ($instance)" ,
"type" : "timeseries"
2024-02-02 16:21:21 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the percent of CPU spent on garbage collection.\n\nIf % is high, then CPU usage can be decreased by changing GOGC to higher values. Increasing GOGC value will increase memory usage, and decrease CPU usage.\n\nTry searching for keyword `GOGC` at https://docs.victoriametrics.com/troubleshooting/ " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2024-02-02 16:21:21 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit" ,
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 35
2024-02-02 16:21:21 +01:00
} ,
"id" : 59 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(\n rate(go_gc_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]) \n / rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n ) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CPU spent on GC ($instance)" ,
"type" : "timeseries"
2024-09-23 16:54:42 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the time goroutines have spent in runnable state before actually running. The lower is better.\n\nHigh values or values exceeding the threshold is usually a sign of insufficient CPU resources or CPU throttling. \n\nVerify that service has enough CPU resources. Otherwise, the service could work unreliably with delays in processing." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 35
2024-09-23 16:54:42 +02:00
} ,
"id" : 61 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(histogram_quantile(0.99, sum(rate(go_sched_latencies_seconds_bucket{job=~\"$job\"}[$__rate_interval])) by (job, instance, le))) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Go scheduling latency" ,
"type" : "timeseries"
2022-11-29 19:26:31 +01:00
}
] ,
"targets" : [
{
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"refId" : "A"
}
] ,
"title" : "Resource usage" ,
"type" : "row"
} ,
2024-10-30 16:44:08 +01:00
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 26
} ,
"id" : 62 ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
"cellOptions" : {
"type" : "auto"
} ,
"inspect" : false
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-11-13 01:56:17 +01:00
"color" : "green"
2024-10-30 16:44:08 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
}
]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 27
} ,
"id" : 50 ,
"options" : {
"cellHeight" : "sm" ,
"footer" : {
"countRows" : false ,
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
} ,
"showHeader" : true ,
"sortBy" : [
{
"desc" : true ,
"displayName" : "job"
}
]
} ,
"pluginVersion" : "10.4.2" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(flag{is_set=\"true\", job=~\"$job\", instance=~\"$instance\"}) by(job, instance, name, value)" ,
"format" : "table" ,
"instant" : true ,
"legendFormat" : "__auto" ,
"range" : false ,
"refId" : "A"
}
] ,
"title" : "Non-default flags" ,
"transformations" : [
{
"id" : "groupBy" ,
"options" : {
"fields" : {
"instance" : {
"aggregations" : [
"uniqueValues"
] ,
"operation" : "aggregate"
} ,
"job" : {
"aggregations" : [ ] ,
"operation" : "groupby"
} ,
"name" : {
"aggregations" : [ ] ,
"operation" : "groupby"
} ,
"value" : {
"aggregations" : [ ] ,
"operation" : "groupby"
}
}
}
}
] ,
"type" : "table"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Missed evaluation means that group evaluation time takes longer than the configured evaluation interval. \nThis may result in missed alerting notifications or recording rules samples. Try increasing evaluation interval or concurrency for such groups. See https://docs.victoriametrics.com/vmalert/#groups\n\nIf rule expressions are taking longer than expected, please see https://docs.victoriametrics.com/troubleshooting/#slow-queries.\"" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "bars" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-11-13 01:56:17 +01:00
"color" : "green"
2024-10-30 16:44:08 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
"id" : 58 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "sum(increase(vmalert_iteration_missed_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job, group, file) > 0" ,
2024-10-30 16:44:08 +01:00
"interval" : "1m" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}({{file}})" ,
2024-10-30 16:44:08 +01:00
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Missed evaluations ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the number of restarts per job. The chart can be useful to identify periodic process restarts and correlate them with potential issues or anomalies. Normally, processes shouldn't restart unless restart was inited by user. The reason of restarts should be figured out by checking the logs of each specific service. " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "stepAfter" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-11-13 01:56:17 +01:00
"color" : "green"
2024-10-30 16:44:08 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 34
} ,
"id" : 63 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(changes(vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]) > 0) by(job)" ,
"format" : "time_series" ,
"instant" : false ,
"legendFormat" : "{{job}}" ,
"refId" : "A"
}
] ,
"title" : "Restarts ($job)" ,
"type" : "timeseries"
}
] ,
"title" : "Troubleshooting" ,
"type" : "row"
} ,
2022-11-29 19:26:31 +01:00
{
"collapsed" : true ,
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 27
2022-11-29 19:26:31 +01:00
} ,
"id" : 17 ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows top $topk current active (firing) alerting rules.\n\nThe panel uses MetricsQL functions and may not work with Prometheus." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 52
2022-11-29 19:26:31 +01:00
} ,
"id" : 14 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "topk_max($topk, sum(vmalert_alerts_firing{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}) by(job, group, file, alertname) > 0)" ,
2022-11-29 19:26:31 +01:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}.{{alertname}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Top $topk active alerts ($group)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the events when rule execution resulted into an error. Check the logs for more details." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 52
2022-11-29 19:26:31 +01:00
} ,
"id" : 13 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "sum(increase(vmalert_alerting_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) by(job, group, file, alertname) > 0" ,
2022-11-29 19:26:31 +01:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}.{{alertname}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Errors ($group)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the current pending alerting rules per group.\nBy pending means the rule which remains active less than configured `for` parameter." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 60
2022-11-29 19:26:31 +01:00
} ,
"id" : 20 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "sum(vmalert_alerts_pending{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}) by(job, group, file, alertname) > 0" ,
2022-11-29 19:26:31 +01:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}.{{alertname}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Pending ($group)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the error rate for the attempts to send alerts to Alertmanager. If not zero it means there issues on attempt to send notification to Alertmanager and some alerts may be not delivered properly. Check the logs for more details." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 60
2022-11-29 19:26:31 +01:00
} ,
"id" : 32 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2022-11-29 19:26:31 +01:00
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : false ,
2023-10-31 10:16:45 +01:00
"expr" : "sum(rate(vmalert_alerts_send_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance, addr) > 0" ,
2022-11-29 19:26:31 +01:00
"interval" : "" ,
"legendFormat" : "{{instance}} => {{addr}}" ,
"refId" : "A"
}
] ,
2023-10-31 10:16:45 +01:00
"title" : "Errors rate to Alertmanager" ,
2022-11-29 19:26:31 +01:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows how many alerts are sent to Alertmanager per second. Only active alerts are sent." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"overrides" : [ ]
2022-02-15 10:54:28 +01:00
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 19:26:31 +01:00
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 68
2021-08-31 11:28:02 +02:00
} ,
"id" : 26 ,
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2021-08-31 11:28:02 +02:00
}
} ,
2022-11-29 19:26:31 +01:00
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2022-11-29 19:26:31 +01:00
"expr" : "sum(rate(vmalert_alerts_sent_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job, addr) > 0" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2022-11-29 19:26:31 +01:00
"legendFormat" : "{{job}} => {{addr}}" ,
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Requests rate to Alertmanager by job ($group)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
}
] ,
2022-09-16 21:24:32 +02:00
"targets" : [
{
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"refId" : "A"
}
] ,
2021-08-31 11:28:02 +02:00
"title" : "Alerting rules ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-09-16 21:24:32 +02:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 28
2021-08-31 11:28:02 +02:00
} ,
"id" : 28 ,
"panels" : [
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01:00
"description" : "Shows the top $topk recording rules which generate the most of [samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples). Each generated sample is basically a time series which then ingested into configured remote storage. Rules with high numbers may cause the most pressure on the remote database and become a source of too high cardinality.\n\nThe panel uses MetricsQL functions and may not work with Prometheus." ,
2022-11-29 19:26:31 +01:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
2021-08-31 11:28:02 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 67
2021-08-31 11:28:02 +02:00
} ,
"id" : 31 ,
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2022-11-29 19:26:31 +01:00
}
} ,
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "topk_max($topk, \n max(\n sum(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}) by(job, instance, group, file, recording) > 0\n ) by(job, group, file, recording)\n)" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}.{{recording}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Top $topk rules by produced samples ($group)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01:00
"description" : "Shows the rules which do not produce any [samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) during the evaluation. Usually it means that such rules are misconfigured, since they give no output during the evaluation.\nPlease check if rule's expression is correct and it is working as expected." ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2022-11-29 19:26:31 +01:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2021-08-31 11:28:02 +02:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2021-08-31 11:28:02 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 67
2021-08-31 11:28:02 +02:00
} ,
"id" : 33 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
2022-11-29 19:26:31 +01:00
"max" ,
2021-08-31 11:28:02 +02:00
"mean"
] ,
"displayMode" : "table" ,
2022-11-29 19:26:31 +01:00
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2021-08-31 11:28:02 +02:00
} ,
"tooltip" : {
2022-11-29 19:26:31 +01:00
"mode" : "multi" ,
"sort" : "desc"
2021-08-31 11:28:02 +02:00
}
} ,
"pluginVersion" : "8.0.3" ,
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"} < 1) by(job, group, file, recording)" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}.{{recording}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
"title" : "Rules with 0 produced samples ($group)" ,
"type" : "timeseries"
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
2022-11-29 19:26:31 +01:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2022-02-15 10:54:28 +01:00
} ,
2022-11-29 19:26:31 +01:00
"unit" : "short"
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 19:26:31 +01:00
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 75
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 30 ,
2021-08-31 11:28:02 +02:00
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.2.6" ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
2021-08-31 11:28:02 +02:00
"exemplar" : false ,
2024-11-12 17:00:39 +01:00
"expr" : "sum(increase(vmalert_recording_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) by(job, group, file, recording) > 0" ,
2021-08-31 11:28:02 +02:00
"interval" : "" ,
2024-11-12 17:00:39 +01:00
"legendFormat" : "({{job}}) {{group}}.{{recording}}({{file}})" ,
2022-11-29 19:26:31 +01:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Errors ($group)" ,
"type" : "timeseries"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"refId" : "A"
}
] ,
"title" : "Recording rules ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 29
2022-11-29 19:26:31 +01:00
} ,
"id" : 55 ,
"panels" : [
2021-08-31 11:28:02 +02:00
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-09-16 21:24:32 +02:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
2022-11-29 19:26:31 +01:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 33
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 52 ,
2021-08-31 11:28:02 +02:00
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2022-11-29 19:26:31 +01:00
}
} ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-11-29 19:26:31 +01:00
"expr" : "sum(rate(vmalert_remotewrite_sent_rows_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
"legendFormat" : "__auto" ,
2022-09-16 21:24:32 +02:00
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Datapoints send rate ($instance)" ,
"type" : "timeseries"
2021-08-31 11:28:02 +02:00
} ,
{
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"description" : "Shows the number of datapoints dropped by vmalert while sending to the configured remote write URL. vmalert performs up to 5 retries before dropping the data. Check vmalert's error logs for the specific error message." ,
2021-08-31 11:28:02 +02:00
"fieldConfig" : {
"defaults" : {
2022-11-29 19:26:31 +01:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2023-08-03 11:14:14 +02:00
"color" : "green"
2022-11-29 19:26:31 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
2021-08-31 11:28:02 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 33
2021-08-31 11:28:02 +02:00
} ,
2022-11-29 19:26:31 +01:00
"id" : 53 ,
2021-08-31 11:28:02 +02:00
"options" : {
2022-11-29 19:26:31 +01:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
2023-10-17 09:31:09 +02:00
"sort" : "desc"
2022-11-29 19:26:31 +01:00
}
} ,
2021-08-31 11:28:02 +02:00
"targets" : [
{
2022-09-16 21:24:32 +02:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-09-16 21:24:32 +02:00
"uid" : "$ds"
} ,
2022-11-29 19:26:31 +01:00
"editorMode" : "code" ,
"expr" : "sum(rate(vmalert_remotewrite_dropped_rows_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
"legendFormat" : "__auto" ,
"range" : true ,
2021-08-31 11:28:02 +02:00
"refId" : "A"
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Datapoints drop rate ($instance)" ,
"type" : "timeseries"
2024-05-22 10:52:51 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows current number of established connections to remote write endpoints.\n\n" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 60
2024-05-22 10:52:51 +02:00
} ,
"id" : 54 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(max_over_time(vmalert_remotewrite_conns{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Connections ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the global rate for number of written bytes via remote write connections." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green"
2024-05-22 10:52:51 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "decbytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 60
2024-05-22 10:52:51 +02:00
} ,
2024-09-23 16:54:42 +02:00
"id" : 60 ,
2024-05-22 10:52:51 +02:00
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(rate(vmalert_remotewrite_conn_bytes_written_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Bytes write rate ($instance)" ,
"type" : "timeseries"
2022-09-16 21:24:32 +02:00
}
] ,
2022-11-29 19:26:31 +01:00
"title" : "Remote write" ,
2021-08-31 11:28:02 +02:00
"type" : "row"
}
] ,
2024-02-02 15:41:08 +01:00
"refresh" : "" ,
"schemaVersion" : 39 ,
2021-08-31 11:28:02 +02:00
"tags" : [
"victoriametrics" ,
"vmalert"
] ,
"templating" : {
"list" : [
{
"current" : {
2024-04-29 12:10:24 +02:00
"selected" : false ,
2024-10-30 16:44:08 +01:00
"text" : "VictoriaMetrics - cluster" ,
"value" : "PAF93674D0B4E9963"
2021-08-31 11:28:02 +02:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"current" : { } ,
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"definition" : "label_values(vm_app_version{version=~\"^vmalert.*\"}, job)" ,
"hide" : 0 ,
2022-11-29 19:26:31 +01:00
"includeAll" : true ,
"multi" : true ,
2021-08-31 11:28:02 +02:00
"name" : "job" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{version=~\"^vmalert.*\"}, job)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
"allValue" : ".*" ,
"current" : { } ,
2022-02-15 10:54:28 +01:00
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2021-08-31 11:28:02 +02:00
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : true ,
"name" : "instance" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
"allValue" : ".*" ,
"current" : { } ,
2022-02-15 10:54:28 +01:00
"datasource" : {
2024-11-12 17:00:39 +01:00
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"definition" : "label_values(vmalert_iteration_total{job=~\"$job\", instance=~\"$instance\"},file)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : true ,
"name" : "file" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vmalert_iteration_total{job=~\"$job\", instance=~\"$instance\"},file)" ,
"refId" : "PrometheusVariableQueryEditor-VariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
"allValue" : ".*" ,
"current" : { } ,
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-02-15 10:54:28 +01:00
"uid" : "$ds"
} ,
2024-06-19 09:40:34 +02:00
"definition" : "label_values(vmalert_iteration_total{job=~\"$job\", instance=~\"$instance\"}, group)" ,
2021-08-31 11:28:02 +02:00
"hide" : 0 ,
"includeAll" : true ,
"multi" : true ,
"name" : "group" ,
"options" : [ ] ,
"query" : {
2024-06-19 09:40:34 +02:00
"query" : "label_values(vmalert_iteration_total{job=~\"$job\", instance=~\"$instance\"}, group)" ,
2021-08-31 11:28:02 +02:00
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
2022-09-16 21:24:32 +02:00
} ,
2022-11-29 19:26:31 +01:00
{
"current" : {
2023-08-03 11:14:14 +02:00
"selected" : false ,
2022-11-29 19:26:31 +01:00
"text" : "5" ,
"value" : "5"
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "topk" ,
"options" : [
{
"selected" : true ,
"text" : "5" ,
"value" : "5"
} ,
{
"selected" : false ,
"text" : "10" ,
"value" : "10"
} ,
{
"selected" : false ,
"text" : "20" ,
"value" : "20"
} ,
{
"selected" : false ,
"text" : "30" ,
"value" : "30"
} ,
{
"selected" : false ,
"text" : "40" ,
"value" : "40"
} ,
{
"selected" : false ,
"text" : "50" ,
"value" : "50"
}
] ,
"query" : "5, 10, 20, 30, 40, 50" ,
"queryValue" : "" ,
"skipUrlSync" : false ,
"type" : "custom"
} ,
2022-09-16 21:24:32 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-09-16 21:24:32 +02:00
} ,
"filters" : [ ] ,
"hide" : 0 ,
"name" : "adhoc" ,
"skipUrlSync" : false ,
"type" : "adhoc"
2021-08-31 11:28:02 +02:00
}
]
} ,
"time" : {
"from" : "now-3h" ,
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
2022-09-16 21:24:32 +02:00
"title" : "VictoriaMetrics - vmalert" ,
2021-08-31 11:28:02 +02:00
"uid" : "LzldHAVnz" ,
2022-02-15 10:54:28 +01:00
"version" : 1 ,
"weekStart" : ""
2024-04-29 12:10:24 +02:00
}