2019-11-07 10:09:27 +00:00
{
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
2022-06-16 17:49:55 +00:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
2019-11-07 10:09:27 +00:00
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
2021-12-20 15:32:05 +00:00
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
2019-11-07 10:09:27 +00:00
"type" : "dashboard"
2022-11-29 18:28:22 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"enable" : true ,
2023-11-14 08:38:15 +00:00
"expr" : "sum(ALERTS{job=~\"$job\", instance=~\"$instance\", alertgroup=\"vmsingle\",alertstate=\"firing\",show_at=\"dashboard\"}) by(alertname)" ,
2025-02-25 08:25:34 +00:00
"hide" : false ,
2022-11-29 18:28:22 +00:00
"iconColor" : "red" ,
"name" : "alerts" ,
"titleFormat" : "{{alertname}}"
2022-12-12 15:32:26 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"enable" : true ,
2024-05-22 14:32:51 +00:00
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(version) unless (sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"} offset $__interval) by(version))" ,
2022-12-12 15:32:26 +00:00
"hide" : true ,
"iconColor" : "dark-blue" ,
"name" : "version" ,
2023-11-16 08:26:47 +00:00
"textFormat" : "{{version}}" ,
2022-12-12 15:32:26 +00:00
"titleFormat" : "Version change"
2019-11-07 10:09:27 +00:00
}
]
} ,
2025-02-25 08:25:34 +00:00
"description" : "Overview for single-node VictoriaMetrics v1.102.0 or higher" ,
2019-11-07 10:09:27 +00:00
"editable" : true ,
2021-12-20 15:32:05 +00:00
"fiscalYearStartMonth" : 0 ,
2023-06-12 13:58:47 +00:00
"graphTooltip" : 1 ,
2025-02-25 08:25:34 +00:00
"id" : 1 ,
2019-11-12 13:06:56 +00:00
"links" : [
{
"icon" : "doc" ,
"tags" : [ ] ,
"targetBlank" : true ,
2022-09-06 14:19:43 +00:00
"title" : "Single server Wiki" ,
2019-11-12 13:06:56 +00:00
"type" : "link" ,
2022-09-06 14:19:43 +00:00
"url" : "https://docs.victoriametrics.com/"
2019-11-12 13:06:56 +00:00
} ,
{
"icon" : "external link" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Found a bug?" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/issues"
} ,
{
"icon" : "external link" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "New releases" ,
2022-09-06 14:19:43 +00:00
"tooltip" : "" ,
2019-11-12 13:06:56 +00:00
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
2019-11-07 10:09:27 +00:00
"panels" : [
{
2022-09-06 14:19:43 +00:00
"collapsed" : false ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
2022-09-06 14:19:43 +00:00
"id" : 6 ,
"panels" : [ ] ,
"title" : "Stats" ,
"type" : "row"
} ,
{
"description" : "" ,
2025-02-25 08:25:34 +00:00
"fieldConfig" : {
"defaults" : { } ,
"overrides" : [ ]
} ,
2022-09-06 14:19:43 +00:00
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 85 ,
"options" : {
2022-11-29 18:28:22 +00:00
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
2022-09-06 14:19:43 +00:00
"content" : "<div style=\"text-align: center;\">$version</div>" ,
"mode" : "markdown"
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"title" : "Version" ,
"type" : "text"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "How many datapoints are in storage" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 4 ,
"y" : 1
} ,
"id" : 26 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2019-11-07 10:09:27 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2022-11-29 18:28:22 +00:00
"exemplar" : false ,
2022-12-05 23:59:52 +00:00
"expr" : "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Total datapoints" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Shows the datapoints ingestion rate." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 9 ,
"y" : 1
} ,
2022-11-29 18:28:22 +00:00
"id" : 107 ,
2022-09-06 14:19:43 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2019-11-07 10:09:27 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-09-06 14:19:43 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2022-09-06 14:19:43 +00:00
"exemplar" : false ,
2022-11-29 18:28:22 +00:00
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Ingestion rate" ,
2022-09-06 14:19:43 +00:00
"type" : "stat"
} ,
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Shows the rate of HTTP read requests." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 14 ,
"y" : 1
} ,
2022-11-29 18:28:22 +00:00
"id" : 108 ,
2022-09-06 14:19:43 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2021-06-14 10:03:54 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\", path!~\".*(/write|/metrics)\"}[$__rate_interval]))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Read requests" ,
2022-09-06 14:19:43 +00:00
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Total number of available CPUs for VM process" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
2022-09-06 14:19:43 +00:00
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 19 ,
"y" : 1
} ,
2022-11-29 18:28:22 +00:00
"id" : 77 ,
2022-09-06 14:19:43 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2021-06-14 10:03:54 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"exemplar" : false ,
"expr" : "sum(vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Available CPU" ,
2022-09-06 14:19:43 +00:00
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-12-20 15:32:05 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "red" ,
"value" : null
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
{
"color" : "green" ,
"value" : 1800
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "s"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 0 ,
"y" : 3
} ,
"id" : 87 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2019-11-07 10:09:27 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "min(vm_app_uptime_seconds{job=~\"$job\", instance=~\"$instance\"})" ,
2022-09-06 14:19:43 +00:00
"instant" : true ,
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Uptime" ,
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "Shows the number of [active time series](https://docs.victoriametrics.com/faq/#what-is-an-active-time-series) with new data points inserted during the last hour. High value may result in ingestion slowdown." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 4 ,
"y" : 3
} ,
"id" : 38 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2021-06-14 10:03:54 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2022-11-29 18:28:22 +00:00
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-09-25 19:49:18 +00:00
"title" : "Active series" ,
2022-09-06 14:19:43 +00:00
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Total amount of used disk space" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
2022-11-29 18:28:22 +00:00
"mode" : "absolute" ,
2022-09-06 14:19:43 +00:00
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 9 ,
"y" : 3
} ,
2022-11-29 18:28:22 +00:00
"id" : 81 ,
2022-09-06 14:19:43 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2021-03-18 10:04:12 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2021-03-18 10:04:12 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-16 17:49:55 +00:00
"uid" : "$ds"
2021-12-20 15:32:05 +00:00
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Disk space usage" ,
2022-09-06 14:19:43 +00:00
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Average disk usage per datapoint." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
2021-12-22 09:21:06 +00:00
{
2022-09-06 14:19:43 +00:00
"color" : "green" ,
"value" : null
2021-12-22 09:21:06 +00:00
}
2022-06-02 14:03:48 +00:00
]
2022-06-16 17:49:55 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 14 ,
"y" : 3
} ,
2022-11-29 18:28:22 +00:00
"id" : 82 ,
2022-09-06 14:19:43 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2021-03-18 10:04:12 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
2021-03-18 10:04:12 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "max(sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) / sum(vm_rows{job=~\"$job\", instance=~\"$instance\"}))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Bytes per point" ,
2022-09-06 14:19:43 +00:00
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "Total size of available memory for VM process" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2021-06-14 10:03:54 +00:00
} ,
2022-09-06 14:19:43 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2021-06-14 10:03:54 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 19 ,
"y" : 3
} ,
"id" : 78 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-25 08:25:34 +00:00
"percentChangeColorMode" : "standard" ,
2022-09-06 14:19:43 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-09-06 14:19:43 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-06 14:19:43 +00:00
"targets" : [
{
"datasource" : {
"uid" : "$ds"
2021-06-14 10:03:54 +00:00
} ,
2022-11-29 18:28:22 +00:00
"exemplar" : false ,
2022-09-06 14:19:43 +00:00
"expr" : "sum(vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
2021-03-18 10:04:12 +00:00
}
] ,
2022-09-06 14:19:43 +00:00
"title" : "Available memory" ,
"type" : "stat"
2021-03-18 10:04:12 +00:00
} ,
{
2021-06-14 10:03:54 +00:00
"collapsed" : false ,
2021-03-18 10:04:12 +00:00
"gridPos" : {
2021-06-14 10:03:54 +00:00
"h" : 1 ,
"w" : 24 ,
2021-03-18 10:04:12 +00:00
"x" : 0 ,
2022-09-06 14:19:43 +00:00
"y" : 5
2019-11-07 10:09:27 +00:00
} ,
2022-09-06 14:19:43 +00:00
"id" : 24 ,
2021-06-14 10:03:54 +00:00
"panels" : [ ] ,
2022-11-29 18:28:22 +00:00
"title" : "Overview" ,
2021-06-14 10:03:54 +00:00
"type" : "row"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "How many datapoints are inserted into storage per second" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2020-06-12 19:07:28 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2022-09-06 14:19:43 +00:00
"y" : 6
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 106 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
2021-04-05 19:28:02 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (type, instance) > 0" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"hide" : false ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{type}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Datapoints ingestion rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2020-06-12 19:07:28 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-09-06 14:19:43 +00:00
"y" : 6
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 12 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
2021-04-05 19:28:02 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (path, instance) > 0" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{path}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Requests rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "Shows the number of [active time series](https://docs.victoriametrics.com/faq/#what-is-an-active-time-series) with new data points inserted during the last hour. High value may result in ingestion slowdown. \n\nSee following link for details:" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2020-06-12 19:07:28 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2022-09-06 14:19:43 +00:00
"y" : 14
2019-11-07 10:09:27 +00:00
} ,
2022-09-06 14:19:43 +00:00
"id" : 51 ,
"links" : [
{
"targetBlank" : true ,
"title" : "troubleshooting" ,
2024-03-04 14:43:31 +00:00
"url" : "https://docs.victoriametrics.com/troubleshooting"
2022-09-06 14:19:43 +00:00
}
] ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
2021-04-05 19:28:02 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2022-09-06 14:19:43 +00:00
"expr" : "vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}" ,
2020-05-19 08:57:20 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Active time series" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "The less time it takes is better.\n* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "s"
2020-06-12 19:07:28 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-09-06 14:19:43 +00:00
"y" : 14
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 22 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
2021-04-05 19:28:02 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "max(vm_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=\"0.99\"}) by (instance, path) > 0" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{path}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Query duration 0.99 quantile" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2022-08-08 09:45:17 +00:00
} ,
2022-11-29 18:28:22 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 08:34:36 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2022-08-08 09:45:17 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-16 19:24:32 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2022-09-16 19:24:32 +00:00
"y" : 22
} ,
2022-11-29 18:28:22 +00:00
"id" : 35 ,
2022-09-16 19:24:32 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2022-09-16 19:24:32 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, path) > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{path}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Requests error rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2022-09-16 19:24:32 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Shows the rate of logging the messages by their level. Unexpected spike in rate is a good reason to check logs." ,
2022-09-16 19:24:32 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"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" : [
{
2024-04-29 08:34:36 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-04-29 10:10:24 +00:00
}
2022-09-16 19:24:32 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-11-29 18:28:22 +00:00
"y" : 22
2022-09-16 19:24:32 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 110 ,
2022-09-16 19:24:32 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"lastNotNull" ,
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-16 19:24:32 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "single" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(vm_log_messages_total{job=~\"$job\", instance=~\"$instance\", level!=\"info\"}[$__rate_interval])) by (instance, level, location) > 0" ,
2022-11-29 18:28:22 +00:00
"interval" : "5m" ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{level}}: {{location}}" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Logging rate" ,
"type" : "timeseries"
2022-09-16 19:24:32 +00:00
} ,
2021-03-18 10:04:12 +00:00
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-29 18:28:22 +00:00
"y" : 30
2021-03-18 10:04:12 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 46 ,
2021-03-18 10:04:12 +00:00
"panels" : [
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-09-06 14:19:43 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2023-11-14 08:50:06 +00:00
"description" : "Percentage of used RSS memory (resident).\nThe RSS memory shows the amount of memory recently accessed by the application. It includes anonymous memory and data from recently accessed files (aka page cache).\nThe application's performance will significantly degrade when memory usage is close to 100%.\n\nClick on the line and choose Drilldown to show memory usage per instance" ,
2022-11-29 18:28:22 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2022-08-08 09:45:17 +00:00
} ,
2022-11-29 18:28:22 +00:00
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2022-08-08 09:45:17 +00:00
} ,
2022-12-07 13:35:52 +00:00
"links" : [ ] ,
2022-11-29 18:28:22 +00:00
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2022-08-08 09:45:17 +00:00
} ,
2025-03-17 15:42:53 +00:00
"unit" : "percentunit"
2020-09-02 12:15:13 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 31
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 112 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
2023-06-12 13:58:47 +00:00
"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(instance)" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "RSS memory % usage" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"description" : "" ,
2020-09-02 12:15:13 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2022-12-07 13:35:52 +00:00
"links" : [ ] ,
2022-11-29 18:28:22 +00:00
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-03-17 15:42:53 +00:00
"unit" : "bytes"
2020-09-02 12:15:13 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 31
2019-11-07 10:09:27 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 44 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
2023-06-12 13:58:47 +00:00
"sort" : "desc"
2022-11-29 18:28:22 +00:00
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-06-12 13:58:47 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - requested from system" ,
"range" : true ,
2023-06-12 13:58:47 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(go_memstats_heap_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-06-12 13:58:47 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - heap inuse" ,
"range" : true ,
2023-06-12 13:58:47 +00:00
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-06-12 13:58:47 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - stack inuse" ,
"range" : true ,
2023-06-12 13:58:47 +00:00
"refId" : "C"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-06-12 13:58:47 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - resident" ,
"range" : true ,
2023-06-12 13:58:47 +00:00
"refId" : "D"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2022-11-29 18:28:22 +00:00
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2023-06-12 13:58:47 +00:00
"hide" : false ,
2021-03-18 10:04:12 +00:00
"interval" : "" ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - resident anonymous" ,
"range" : true ,
2023-06-12 13:58:47 +00:00
"refId" : "E"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Memory usage" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2023-11-14 08:50:06 +00:00
"description" : "Share for memory allocated by the process itself. When memory usage reaches 100% it will be likely OOM-killed.\nSafe memory usage % considered to be below 80%\n\nClick on the line and choose Drilldown to show memory usage per instance" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-03-17 15:42:53 +00:00
"unit" : "percentunit"
2020-06-12 19:07:28 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-09-06 14:19:43 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 39
2019-11-07 10:09:27 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 123 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
2021-03-18 10:04:12 +00:00
}
2022-11-29 18:28:22 +00:00
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n max_over_time(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"}\n) by(instance)" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
2023-06-12 13:58:47 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "RSS anonymous memory % usage" ,
2023-06-12 13:58:47 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2022-08-08 09:45:17 +00:00
} ,
2023-06-12 13:58:47 +00:00
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2023-06-12 13:58:47 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2023-06-12 13:58:47 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2023-06-12 13:58:47 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2022-08-08 09:45:17 +00:00
} ,
2023-06-12 13:58:47 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2023-06-12 13:58:47 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-03-17 15:42:53 +00:00
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
2023-06-12 13:58:47 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 39
2023-06-12 13:58:47 +00:00
} ,
"id" : 114 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2023-06-12 13:58:47 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2023-06-12 13:58:47 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
2025-01-28 12:58:06 +00:00
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job\", instance=~\"$instance\"}\n) by(instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "CPU % usage" ,
2023-06-12 13:58:47 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the percentage of open file descriptors compared to the limit set 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 15:21:21 +00:00
"axisBorderShow" : false ,
2023-06-12 13:58:47 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2023-06-12 13:58:47 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2023-06-12 13:58:47 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2023-06-12 13:58:47 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "percentunit"
2019-11-07 10:09:27 +00:00
} ,
2023-06-12 13:58:47 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 47
2023-06-12 13:58:47 +00:00
} ,
"id" : 75 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2023-06-12 13:58:47 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2023-06-12 13:58:47 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2022-11-29 18:28:22 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"expr" : "max_over_time(process_open_fds{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n/\nprocess_max_fds{job=~\"$job\", instance=~\"$instance\"}" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
2023-06-12 13:58:47 +00:00
"intervalFactor" : 2 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Open FDs" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"description" : "CPU cores used by instance" ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "short"
2020-06-12 19:07:28 +00:00
} ,
2022-11-29 18:28:22 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Limit"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#F2495C" ,
"mode" : "fixed"
}
}
]
}
]
2020-06-12 19:07:28 +00:00
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 47
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 57 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2022-11-29 18:28:22 +00:00
"expr" : "rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2022-11-29 18:28:22 +00:00
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "min(process_cpu_cores_available{job=~\"$job\", instance=~\"$instance\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"hide" : false ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-29 18:28:22 +00:00
"legendFormat" : "Limit" ,
2024-04-29 08:34:36 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "CPU" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
2023-06-12 13:58:47 +00:00
"fillOpacity" : 10 ,
2022-11-29 18:28:22 +00:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2023-06-12 13:58:47 +00:00
"decimals" : 0 ,
2022-11-29 18:28:22 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "short"
2020-06-12 19:07:28 +00:00
} ,
2023-06-12 13:58:47 +00:00
"overrides" : [ ]
2020-06-12 19:07:28 +00:00
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 55
2019-11-07 10:09:27 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 47 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2023-06-12 13:58:47 +00:00
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"intervalFactor" : 2 ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "{{instance}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
"refId" : "A"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Goroutines" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Shows the number of bytes read/write from the storage layer." ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "bytes"
2020-06-12 19:07:28 +00:00
} ,
2022-11-29 18:28:22 +00:00
"overrides" : [
{
"matcher" : {
2024-04-29 08:34:36 +00:00
"id" : "byRegexp" ,
"options" : "/.*read/"
2022-11-29 18:28:22 +00:00
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2020-06-12 19:07:28 +00:00
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 55
2022-11-29 18:28:22 +00:00
} ,
"id" : 76 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_storage_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"hide" : false ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - read" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
} ,
{
2022-11-29 18:28:22 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_storage_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - write" ,
"range" : true ,
2022-11-29 18:28:22 +00:00
"refId" : "B"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Disk writes/reads" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 63
2019-11-07 10:09:27 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 48 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"expr" : "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Threads" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
2019-11-10 18:32:10 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"description" : "Shows the number of read/write syscalls such as read, pread, write, pwrite." ,
2020-06-12 19:07:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "short"
2020-06-12 19:07:28 +00:00
} ,
2023-06-12 13:58:47 +00:00
"overrides" : [
{
"matcher" : {
2024-04-29 08:34:36 +00:00
"id" : "byRegexp" ,
"options" : "/.*read.*/"
2023-06-12 13:58:47 +00:00
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2020-06-12 19:07:28 +00:00
} ,
2019-11-10 18:32:10 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 63
2019-11-10 18:32:10 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 124 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-10 18:32:10 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(process_io_read_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2021-03-18 10:04:12 +00:00
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"hide" : false ,
2023-06-12 13:58:47 +00:00
"interval" : "" ,
2021-03-18 10:04:12 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - read calls" ,
2023-06-12 13:58:47 +00:00
"range" : true ,
2019-11-10 18:32:10 +00:00
"refId" : "A"
2023-06-12 13:58:47 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(process_io_write_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-06-12 13:58:47 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - write calls" ,
2023-06-12 13:58:47 +00:00
"range" : true ,
"refId" : "B"
2019-11-10 18:32:10 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Disk write/read calls" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2021-04-05 19:28:02 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"description" : "" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
2021-12-20 15:32:05 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 71
2021-12-20 15:32:05 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 49 ,
2021-12-20 15:32:05 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2021-12-20 15:32:05 +00:00
"targets" : [
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance)" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
2023-06-12 13:58:47 +00:00
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
2021-12-20 15:32:05 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "TCP connections rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2021-12-20 15:32:05 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
2021-04-05 19:28:02 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 71
2022-11-29 18:28:22 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 37 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2021-04-05 19:28:02 +00:00
"targets" : [
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2023-06-12 13:58:47 +00:00
"expr" : "sum(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2021-04-05 19:28:02 +00:00
"hide" : false ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "{{instance}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
2021-04-05 19:28:02 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "TCP connections" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2024-02-02 15:21:21 +00:00
} ,
2024-04-29 09:54:17 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows network usage by VM:\n* Writes show traffic sent to clients\n* Reads show traffic received from clients" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2024-04-29 09:54:17 +00:00
"drawStyle" : "line" ,
"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"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2024-04-29 09:54:17 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "decbits"
2024-04-29 09:54:17 +00:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 79
2024-04-29 09:54:17 +00:00
} ,
"id" : 127 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2024-04-29 09:54:17 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2024-04-29 09:54:17 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(name) * 8 > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "read via {{name}}" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(name) * 8 > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "write via {{name}}" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "Network usage" ,
"type" : "timeseries"
} ,
2024-02-02 15:21:21 +00: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 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2024-02-02 15:21:21 +00:00
"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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2024-02-02 15:21:21 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 14:54:42 +00:00
"unit" : "percentunit"
2024-02-02 15:21:21 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2024-04-29 09:54:17 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 79
2024-02-02 15:21:21 +00:00
} ,
"id" : 125 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2024-02-02 15:21:21 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2024-02-02 15:21:21 +00:00
"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(instance)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "CPU spent on GC" ,
2024-02-02 15:21:21 +00:00
"type" : "timeseries"
2024-09-23 14:54:42 +00: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 ,
2025-03-17 15:42:53 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 87
2024-09-23 14:54:42 +00:00
} ,
"id" : 128 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2025-03-17 15:42:53 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-03-17 15:42:53 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(go_sched_latencies_seconds_bucket{job=~\"$job\"}[$__rate_interval])) by (job, instance, le))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Go scheduling latency" ,
"type" : "timeseries"
2025-03-17 15:42:53 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the rate of allocations in memory. Sudden increase in allocations would mean increased pressure on Go Garbage Collector and can saturate CPU resources of the application." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"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" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 87
} ,
"id" : 133 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(go_memstats_alloc_bytes_total{job=~\"$job\"}[$__rate_interval])) by (job, instance)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Memory allocations rate" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Resource usage" ,
2022-09-06 14:19:43 +00:00
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-29 18:28:22 +00:00
"y" : 31
2022-09-06 14:19:43 +00:00
} ,
"id" : 71 ,
"panels" : [
2022-06-16 17:49:55 +00:00
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-16 17:49:55 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "Shows the rate and total number of new series created over last 24h.\n\nHigh [churn rate](https://docs.victoriametrics.com/faq/#what-is-high-churn-rate) tightly connected with database performance and may result in unexpected OOM's or slow queries. It is recommended to always keep an eye on this metric to avoid unexpected [cardinality](https://docs.victoriametrics.com/keyconcepts/#cardinality) \"explosions\".\n\nThe higher churn rate is, the more resources required to handle it. Consider to keep the churn rate as low as possible.\n\nGood references to read:\n* https://www.robustperception.io/cardinality-is-key\n* https://www.robustperception.io/using-tsdb-analyze-to-investigate-churn-and-cardinality" ,
2022-06-16 17:49:55 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-10-30 15:44:08 +00:00
"unit" : "short"
2022-06-16 17:49:55 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-09-06 14:19:43 +00:00
"h" : 8 ,
2022-06-16 17:49:55 +00:00
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 249
2022-06-16 17:49:55 +00:00
} ,
2022-09-06 14:19:43 +00:00
"id" : 66 ,
2022-06-16 17:49:55 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
2022-06-16 17:49:55 +00:00
}
2022-11-29 18:28:22 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-06-16 17:49:55 +00:00
"targets" : [
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-23 07:46:28 +00:00
"uid" : "$ds"
2022-06-16 17:49:55 +00:00
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2022-06-16 17:49:55 +00:00
"interval" : "" ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - churn rate" ,
"range" : true ,
2022-06-16 17:49:55 +00:00
"refId" : "A"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-16 17:49:55 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(increase(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[24h])) by (instance)" ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - new series over 24h" ,
"range" : true ,
2022-06-16 17:49:55 +00:00
"refId" : "B"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Churn rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2022-06-23 07:46:28 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2025-01-30 13:20:28 +00:00
"description" : "The percentage of [slow inserts](https://docs.victoriametrics.com/faq/#what-is-a-slow-insert) compared to the total ingestion rate. \\n\\nThe lower the better. \\n\\nIn short, slow insert is a cache miss. There are following reasons for slow inserts to go up: \\n* Ingestion of completely new, not seen before time series;\\n* Not enough memory to maintain big enough caches for the current workload.\\n\\nIf percentage remains high (>10%) during extended periods of time, then it is likely more RAM is needed for optimal handling of the current number of [active time series](https://docs.victoriametrics.com/faq/#what-is-an-active-time-series). \\n\\nSee [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3976#issuecomment-1476883183) for details." ,
2022-06-23 07:46:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line+area"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "transparent"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
2024-10-30 15:44:08 +00:00
"unit" : "percentunit"
2022-06-23 07:46:28 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-09-06 14:19:43 +00:00
"h" : 8 ,
2022-06-23 07:46:28 +00:00
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 249
2022-11-29 18:28:22 +00:00
} ,
"id" : 68 ,
2022-06-23 07:46:28 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-06-23 07:46:28 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "max(\n rate(vm_slow_row_inserts_total{job=~\"$job\"}[$__rate_interval]) \n / rate(vm_rows_added_to_storage_total{job=~\"$job\"}[$__rate_interval])\n) by (instance)" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"hide" : false ,
2022-06-23 07:46:28 +00:00
"interval" : "" ,
2022-11-29 18:28:22 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2022-06-23 07:46:28 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Slow inserts %" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Merge assist happens when storage can't keep up with merging parts. This is usually a sign of overload for storage." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-10-30 15:44:08 +00:00
"unit" : "short"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 257
2022-11-29 18:28:22 +00:00
} ,
"id" : 116 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2022-06-23 07:46:28 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
2022-06-23 07:46:28 +00:00
{
2022-11-29 18:28:22 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(increase(vm_assisted_merges_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance, type) > 0" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"interval" : "5m" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{type}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
"refId" : "A"
2022-06-23 07:46:28 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Assisted merges" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Slow queries rate according to `search.logSlowQueryDuration` flag, which is `5s` by default." ,
2020-09-02 12:15:13 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-10-30 15:44:08 +00:00
"unit" : "short"
2020-09-02 12:15:13 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 257
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 60 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_slow_queries_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"hide" : false ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Slow queries rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the percentage of used cache size from the allowed size by type. \nValues close to 100% show the maximum potential utilization.\nValues close to 0% show that cache is underutilized." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-10-30 15:44:08 +00:00
"unit" : "percentunit"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 265
2022-11-29 18:28:22 +00:00
} ,
"id" : 90 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2022-11-29 18:28:22 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"} / vm_cache_size_max_bytes{job=~\"$job\", instance=~\"$instance\"}" ,
"interval" : "" ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{type}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
"refId" : "A"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Cache usage % by type" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Shows cache miss ratio. Lower is better." ,
2020-09-02 12:15:13 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"max" : 1 ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-10-30 15:44:08 +00:00
"unit" : "percentunit"
2020-09-02 12:15:13 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
2022-11-29 18:28:22 +00:00
"h" : 9 ,
2019-11-07 10:09:27 +00:00
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 265
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 118 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "(\n rate(vm_cache_misses_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n rate(vm_cache_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n) > 0" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"hide" : false ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{type}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Cache miss ratio" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
2022-06-16 17:49:55 +00:00
{
"datasource" : {
2022-09-06 14:19:43 +00:00
"type" : "prometheus" ,
2022-06-16 17:49:55 +00:00
"uid" : "$ds"
} ,
2025-02-25 08:25:34 +00:00
"description" : "Shows how many samples were ignored or dropped on insertion due to various reasons:\n* timestamp out of retention period or timestamp in future;\n* invalid metric name;\n* exceeding limit for labels length or number;\n* dropped by [relabeling configuration](https://docs.victoriametrics.com/#relabeling)." ,
2024-10-30 15:44:08 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2024-10-30 15:44:08 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
2025-02-25 08:25:34 +00:00
"lineInterpolation" : "linear" ,
2024-10-30 15:44:08 +00:00
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2024-10-30 15:44:08 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2024-10-30 15:44:08 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 274
2024-10-30 15:44:08 +00:00
} ,
2025-02-25 08:25:34 +00:00
"id" : 131 ,
2024-10-30 15:44:08 +00:00
"options" : {
"legend" : {
"calcs" : [
2025-02-25 08:25:34 +00:00
"mean" ,
"lastNotNull" ,
"max"
2024-10-30 15:44:08 +00:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2024-10-30 15:44:08 +00:00
"mode" : "multi" ,
2025-02-25 08:25:34 +00:00
"sort" : "none"
2024-10-30 15:44:08 +00:00
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2024-10-30 15:44:08 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2025-02-25 08:25:34 +00:00
"exemplar" : true ,
"expr" : "sum(increase(vm_rows_ignored_total{job=~\"$job\", instance=~\"$instance\"}[1h])) by (instance, reason)" ,
"hide" : false ,
"interval" : "" ,
"legendFormat" : "{{instance}} - {{reason}}" ,
"range" : true ,
2024-10-30 15:44:08 +00:00
"refId" : "A"
2025-02-25 08:25:34 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(increase(vm_relabel_metrics_dropped_total{job=~\"$job\", instance=~\"$instance\"}[1h])) by(instance)" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "{{instance}} - relabeling" ,
"range" : true ,
"refId" : "B"
2024-10-30 15:44:08 +00:00
}
] ,
2025-02-25 08:25:34 +00:00
"title" : "Samples dropped for last 1h" ,
2024-10-30 15:44:08 +00:00
"type" : "timeseries"
2025-02-25 08:25:34 +00:00
} ,
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2025-02-25 08:25:34 +00:00
"description" : "Shows rate of deduplicated samples during [deduplication](https://docs.victoriametrics.com/#deduplication) or [downsampling](https://docs.victoriametrics.com/#downsampling), according to the configured `-dedup.minScrapeInterval` or `-downsampling.period`.\n\nShould be empty if `-dedup.minScrapeInterval` and `-downsampling.period` isn't set.\n\nDeduplication happens in two places:\n* `type=\"merge\"` - during [background merges](https://docs.victoriametrics.com/#storage). Deduplication during merges is permanent.\n* `type=\"select\"` - during [read queries](https://docs.victoriametrics.com/keyconcepts/#query-data). Deduplication happens in-flight and has no permanent effect.\n\nThe more samples need to be deduplicated, the higher will be resource usage." ,
2020-09-02 12:15:13 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2025-02-25 08:25:34 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 274
2025-02-25 08:25:34 +00:00
} ,
"id" : 132 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Readonly mode" ,
"url" : "https://docs.victoriametrics.com/cluster-victoriametrics/#readonly-mode"
}
] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(rate(vm_deduplicated_samples_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance, type) > 0" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Deduplication rate" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Flags explicitly set to non-default values" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
"cellOptions" : {
"type" : "auto"
} ,
"inspect" : false
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2025-02-25 08:25:34 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "job"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 282
2025-02-25 08:25:34 +00:00
} ,
"id" : 126 ,
"options" : {
"cellHeight" : "sm" ,
"footer" : {
"countRows" : false ,
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
} ,
"showHeader" : true
} ,
"pluginVersion" : "11.5.0" ,
"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" ,
"type" : "table"
} ,
{
"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 ,
"barWidthFactor" : 0.6 ,
"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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2025-02-25 08:25:34 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 282
2025-02-25 08:25:34 +00:00
} ,
"id" : 129 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "11.5.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"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 32
} ,
"id" : 14 ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "How many datapoints are inserted into storage per second" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"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"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2020-09-02 12:15:13 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
2022-06-16 17:49:55 +00:00
"w" : 12 ,
2022-09-06 14:19:43 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 347
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 10 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-06-23 07:46:28 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-23 07:46:28 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, type) > 0" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"hide" : false ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{type}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
2022-11-29 18:28:22 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Datapoints ingestion rate" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-12-03 11:16:36 +00:00
"description" : "Shows the approx time needed to reach 100% of disk capacity based on the following params:\n* free disk space (after -storage.minFreeDiskSpaceBytes);\n* row ingestion rate;\n* compression.\n\nNote: this panel doesn't account for deduplication process." ,
2022-11-29 18:28:22 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "s"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 347
2022-11-29 18:28:22 +00:00
} ,
"id" : 73 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"min"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
2019-11-07 10:09:27 +00:00
{
2022-06-23 07:46:28 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-23 07:46:28 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-10-25 13:09:14 +00:00
"expr" : "(vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}-vm_free_disk_space_limit_bytes{job=~\"$job\", instance=~\"$instance\"}) \n/ ignoring(path) (\n rate(vm_rows_added_to_storage_total{job=~\"$job\", instance=~\"$instance\"}[1d]) \n * scalar(\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) \n / sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"})\n )\n )" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2019-11-07 10:09:27 +00:00
"hide" : false ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2022-11-29 18:28:22 +00:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Storage full ETA" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-12-03 11:16:36 +00:00
"description" : "Shows amount of on-disk space occupied by data points and the remaining disk space at `-storageDataPath`. Calculation accounts for -storage.minFreeDiskSpaceBytes" ,
2022-11-29 18:28:22 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "bytes"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 355
2022-11-29 18:28:22 +00:00
} ,
"id" : 53 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by (instance)" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - Used (datapoints)" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-10-25 13:09:14 +00:00
"expr" : "vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"} - vm_free_disk_space_limit_bytes{job=~\"$job\", instance=~\"$instance\"}" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - Free" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "B"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type=~\"indexdb.*\"}) by (instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"hide" : false ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - Used (index)" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "C"
2022-11-29 18:28:22 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Disk space usage - datapoints" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-10-11 11:47:14 +00:00
"description" : "How many datapoints are in RAM queue waiting to be written into storage. The number of pending data points should be in the range from 0 to `3*<ingestion_rate>`, since VictoriaMetrics pushes pending data to persistent storage every two seconds." ,
2022-11-29 18:28:22 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "pending index entries"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "none"
} ,
{
"id" : "decimals" ,
"value" : 3
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 355
2022-11-29 18:28:22 +00:00
} ,
"id" : 34 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"expr" : "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"storage\"}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - pending datapoints" ,
"range" : true ,
2022-11-29 18:28:22 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"}" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"hide" : false ,
2022-11-29 18:28:22 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - pending index entries" ,
"range" : true ,
2022-11-29 18:28:22 +00:00
"refId" : "B"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Pending datapoints" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows how many datapoints are in the storage and what is average disk usage per datapoint." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "bytes-per-datapoint"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "bytes"
} ,
{
"id" : "decimals" ,
"value" : 2
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 363
2022-11-29 18:28:22 +00:00
} ,
"id" : 30 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by (instance)" ,
2022-11-29 18:28:22 +00:00
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - total datapoints" ,
"range" : true ,
2022-11-29 18:28:22 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)\n/ sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by (instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - bytes-per-datapoint" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
"refId" : "B"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Datapoints" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
2019-11-07 10:09:27 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
"uid" : "$ds"
} ,
2025-02-25 08:25:34 +00:00
"description" : "The max number of data parts of LSM tree across all storage nodes in the last [partition](https://docs.victoriametrics.com/#storage).\nIncrease in number of parts (the hard limit is 512) is an evidence of slow merge performance - check the resource utilization.\n* `indexdb` - inverted index\n* `storage/small` - recently added parts of data ingested into storage (hot data)\n* `storage/big` - small parts gradually merged into bigger parts (cold data)" ,
2020-07-22 09:43:23 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2020-07-22 09:43:23 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-09-06 14:19:43 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 363
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 36 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
2022-09-06 14:19:43 +00:00
}
2022-11-29 18:28:22 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
2025-02-25 08:25:34 +00:00
"expr" : "sum(vm_parts{job=~\"$job\", instance=~\"$instance\", type=~\"indexdb.*\"}) by (instance, type)" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
2025-02-25 08:25:34 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(vm_last_partition_parts{job=~\"$job\", instance=~\"$instance\"}) by(instance, type)" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
"refId" : "B"
2022-11-29 18:28:22 +00:00
}
] ,
2025-02-25 08:25:34 +00:00
"title" : "LSM parts max by type" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-12-10 21:15:38 +00:00
"description" : "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps and how many series were ignored on insertion or during scrape due to too long label names, values and excessive labels count." ,
2022-11-29 18:28:22 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2022-11-29 18:28:22 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 371
2022-11-29 18:28:22 +00:00
} ,
"id" : 58 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-29 18:28:22 +00:00
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-11-29 18:28:22 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2022-09-06 14:19:43 +00:00
"exemplar" : false ,
2024-04-29 08:34:36 +00:00
"expr" : "sum(increase(vm_rows_ignored_total{job=~\"$job\", instance=~\"$instance\"}[1h])) by (instance, reason)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - {{reason}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
"refId" : "A"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Rows ignored for last 1h" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "The number of on-going merges in storage nodes. It is expected to have high numbers for `storage/small` metric." ,
2020-07-22 09:43:23 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2020-07-22 09:43:23 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 371
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 62 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
2019-11-07 10:09:27 +00:00
}
2022-11-29 18:28:22 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(vm_active_merges{job=~\"$job\", instance=~\"$instance\"}) by(instance, type)" ,
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Active merges" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "Shows how many ongoing insertions (not API /write calls) on disk are taking place, where:\n* `max` - equal to number of CPUs;\n* `current` - current number of goroutines busy with inserting rows into underlying storage.\n\nEvery successful API /write call results into flush on disk. However, these two actions are separated and controlled via different concurrency limiters. The `max` on this panel can't be changed and always equal to number of CPUs. \n\nWhen `current` hits `max` constantly, it means storage is overloaded and requires more CPU.\n\n" ,
2020-07-22 09:43:23 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2020-07-22 09:43:23 +00:00
} ,
2022-11-29 18:28:22 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
2020-07-22 09:43:23 +00:00
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 379
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 59 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
2022-09-06 14:19:43 +00:00
}
2022-11-29 18:28:22 +00:00
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2023-01-07 02:59:39 +00:00
"expr" : "max_over_time(vm_concurrent_insert_capacity{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
2019-11-07 10:09:27 +00:00
"format" : "time_series" ,
2021-12-20 15:32:05 +00:00
"interval" : "" ,
2019-11-07 10:09:27 +00:00
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - max" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(vm_concurrent_insert_current{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 08:34:36 +00:00
"legendFormat" : "{{instance}} - current" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
2019-11-07 10:09:27 +00:00
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Concurrent flushes on disk" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2019-11-07 10:09:27 +00:00
} ,
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "The number of rows merged per second by storage nodes." ,
2020-07-22 09:43:23 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00: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" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2020-07-22 09:43:23 +00:00
} ,
"overrides" : [ ]
} ,
2019-11-07 10:09:27 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 379
2019-11-07 10:09:27 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 64 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2019-11-07 10:09:27 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2024-04-29 08:34:36 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_rows_merged_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance, type)" ,
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
2019-11-07 10:09:27 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Merge speed" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2020-07-22 09:43:23 +00:00
} ,
2021-09-01 14:05:17 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"description" : "99th percentile of number of series read per query." ,
2021-09-01 14:05:17 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2021-09-01 14:05:17 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 387
2022-11-29 18:28:22 +00:00
} ,
"id" : 99 ,
2021-09-01 14:05:17 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2021-09-01 14:05:17 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(vm_series_read_per_query_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
2021-09-01 14:05:17 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
2023-06-12 13:58:47 +00:00
"range" : true ,
2021-09-01 14:05:17 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Series read per query" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2021-09-01 14:05:17 +00:00
} ,
2020-11-30 09:30:11 +00:00
{
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) read per queried series." ,
2020-11-30 09:30:11 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2020-11-30 09:30:11 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 387
2020-11-30 09:30:11 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 103 ,
2022-06-16 17:49:55 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-06-16 17:49:55 +00:00
"targets" : [
{
2022-08-08 09:45:17 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-08-08 09:45:17 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2023-06-12 13:58:47 +00:00
"expr" : "histogram_quantile(0.99, sum(rate(vm_rows_read_per_series_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
2022-06-16 17:49:55 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "{{instance}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2022-06-16 17:49:55 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Datapoints read per series" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2022-06-16 17:49:55 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-16 17:49:55 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) read per query." ,
2022-06-16 17:49:55 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2022-06-16 17:49:55 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-09-06 14:19:43 +00:00
"h" : 8 ,
2022-06-16 17:49:55 +00:00
"w" : 12 ,
2022-11-29 18:28:22 +00:00
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 395
2022-06-16 17:49:55 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 122 ,
2021-04-05 19:28:02 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2020-11-30 09:30:11 +00:00
"targets" : [
{
2022-06-23 07:46:28 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-23 07:46:28 +00:00
"uid" : "$ds"
} ,
2022-11-29 18:28:22 +00:00
"editorMode" : "code" ,
2023-06-12 13:58:47 +00:00
"expr" : "histogram_quantile(0.99, sum(rate(vm_rows_read_per_query_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
2020-11-30 09:30:11 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2020-11-30 09:30:11 +00:00
"intervalFactor" : 1 ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "{{instance}}" ,
2022-11-29 18:28:22 +00:00
"range" : true ,
2020-11-30 09:30:11 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Datapoints read per query" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2022-06-23 07:46:28 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-23 07:46:28 +00:00
"uid" : "$ds"
} ,
2024-04-18 00:14:53 +00:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) scanner per query.\n\nThis number can exceed number of RowsReadPerQuery if `step` query arg passed to [/api/v1/query_range](https://prometheus.io/docs/prometheus/latest/querying/api/#range-queries) is smaller than the lookbehind window set in square brackets of [rollup function](https://docs.victoriametrics.com/metricsql/#rollup-functions). For example, if `increase(some_metric[1h])` is executed with the `step=5m`, then the same [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) on a hour time range are scanned `1h/5m=12` times. See [this article](https://valyala.medium.com/how-to-optimize-promql-and-metricsql-queries-85a1b75bf986) for details." ,
2022-06-23 07:46:28 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-29 18:28:22 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 08:34:36 +00:00
"axisBorderShow" : false ,
2022-11-29 18:28:22 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-25 08:25:34 +00:00
"barWidthFactor" : 0.6 ,
2022-11-29 18:28:22 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 08:34:36 +00:00
"insertNulls" : false ,
2022-11-29 18:28:22 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2022-11-29 18:28:22 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-25 08:25:34 +00:00
"unit" : "short"
2022-06-23 07:46:28 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-09-06 14:19:43 +00:00
"h" : 8 ,
2022-06-23 07:46:28 +00:00
"w" : 12 ,
"x" : 12 ,
2025-03-17 15:42:53 +00:00
"y" : 395
2022-06-23 07:46:28 +00:00
} ,
2022-11-29 18:28:22 +00:00
"id" : 105 ,
2022-06-23 07:46:28 +00:00
"options" : {
2022-11-29 18:28:22 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-25 08:25:34 +00:00
"hideZeros" : false ,
2022-11-29 18:28:22 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-25 08:25:34 +00:00
"pluginVersion" : "11.5.0" ,
2022-06-23 07:46:28 +00:00
"targets" : [
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-06-23 07:46:28 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(vm_rows_scanned_per_query_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
2022-06-23 07:46:28 +00:00
"format" : "time_series" ,
2022-11-29 18:28:22 +00:00
"interval" : "" ,
2022-06-23 07:46:28 +00:00
"intervalFactor" : 1 ,
2022-11-29 18:28:22 +00:00
"legendFormat" : "{{instance}}" ,
2023-06-12 13:58:47 +00:00
"range" : true ,
2022-06-23 07:46:28 +00:00
"refId" : "A"
}
] ,
2024-04-29 08:34:36 +00:00
"title" : "Datapoints scanned per query" ,
2022-11-29 18:28:22 +00:00
"type" : "timeseries"
2025-02-25 08:25:34 +00:00
} ,
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2025-02-25 08:25:34 +00:00
"description" : "Shows number of existing [snapshots](https://docs.victoriametrics.com/#how-to-work-with-snapshots).\n\nRecently made snapshots do not occupy disk space. But with time, as snapshots become older, they start to occupy more and more disk space.\n\nIt is recommended deleting old snapshots when they are no longer needed to free up disk space." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"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"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-03-17 15:42:53 +00:00
"color" : "green"
2025-02-25 08:25:34 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-03-17 15:42:53 +00:00
"y" : 403
2025-02-25 08:25:34 +00:00
} ,
"id" : 130 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "vm_snapshots{job=~\"$job\", instance=~\"$instance\"}" ,
"interval" : "" ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Number of snapshots" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-29 18:28:22 +00:00
"title" : "Storage" ,
2019-11-07 10:09:27 +00:00
"type" : "row"
}
] ,
2025-02-25 08:25:34 +00:00
"preload" : false ,
2024-02-02 14:41:08 +00:00
"refresh" : "" ,
2025-02-25 08:25:34 +00:00
"schemaVersion" : 40 ,
2022-09-06 14:19:43 +00:00
"tags" : [
"victoriametrics" ,
"vmsingle"
] ,
2019-11-07 10:09:27 +00:00
"templating" : {
"list" : [
{
"current" : {
2020-03-27 23:17:38 +00:00
"text" : "VictoriaMetrics" ,
2024-02-02 14:41:08 +00:00
"value" : "P4169E866C3094E38"
2019-11-07 10:09:27 +00:00
} ,
"includeAll" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "datasource"
} ,
{
2019-11-11 22:23:24 +00:00
"current" : { } ,
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-09-06 14:19:43 +00:00
"definition" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
2019-11-07 10:09:27 +00:00
"includeAll" : false ,
2022-09-06 14:19:43 +00:00
"name" : "job" ,
2019-11-07 10:09:27 +00:00
"options" : [ ] ,
2021-04-05 19:28:02 +00:00
"query" : {
2022-09-06 14:19:43 +00:00
"query" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
"refId" : "VictoriaMetrics-job-Variable-Query"
2021-04-05 19:28:02 +00:00
} ,
2019-11-07 10:09:27 +00:00
"refresh" : 1 ,
"regex" : "" ,
2025-02-25 08:25:34 +00:00
"type" : "query"
2019-11-07 10:09:27 +00:00
} ,
{
2019-11-11 22:23:24 +00:00
"current" : { } ,
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-09-06 14:19:43 +00:00
"definition" : "label_values(vm_app_version{job=~\"$job\", instance=~\"$instance\"}, version)" ,
2019-11-07 10:09:27 +00:00
"hide" : 2 ,
"includeAll" : false ,
2022-09-06 14:19:43 +00:00
"name" : "version" ,
2019-11-07 10:09:27 +00:00
"options" : [ ] ,
2021-04-05 19:28:02 +00:00
"query" : {
2022-09-06 14:19:43 +00:00
"query" : "label_values(vm_app_version{job=~\"$job\", instance=~\"$instance\"}, version)" ,
"refId" : "VictoriaMetrics-version-Variable-Query"
2021-04-05 19:28:02 +00:00
} ,
2019-11-07 10:09:27 +00:00
"refresh" : 1 ,
2024-04-29 09:11:28 +00:00
"regex" : "/.*-(?:tags|heads)-(.*)-(?:0|dirty)-.*/" ,
2022-09-06 14:19:43 +00:00
"sort" : 2 ,
2025-02-25 08:25:34 +00:00
"type" : "query"
2019-11-07 10:09:27 +00:00
} ,
{
2024-04-29 08:34:36 +00:00
"allValue" : ".*" ,
2019-11-11 22:23:24 +00:00
"current" : { } ,
2021-12-20 15:32:05 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2021-12-20 15:32:05 +00:00
"uid" : "$ds"
} ,
2022-09-06 14:19:43 +00:00
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
2024-04-29 08:34:36 +00:00
"includeAll" : true ,
"multi" : true ,
2022-09-06 14:19:43 +00:00
"name" : "instance" ,
2019-11-07 10:09:27 +00:00
"options" : [ ] ,
2021-04-05 19:28:02 +00:00
"query" : {
2022-09-06 14:19:43 +00:00
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "VictoriaMetrics-instance-Variable-Query"
2021-04-05 19:28:02 +00:00
} ,
2019-11-07 10:09:27 +00:00
"refresh" : 1 ,
"regex" : "" ,
2025-02-25 08:25:34 +00:00
"type" : "query"
2019-11-07 10:09:27 +00:00
} ,
2022-04-22 14:25:53 +00:00
{
2025-02-25 08:25:34 +00:00
"baseFilters" : [ ] ,
2022-04-22 14:25:53 +00:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-04-22 14:25:53 +00:00
} ,
"filters" : [ ] ,
"name" : "adhoc" ,
"type" : "adhoc"
2019-11-07 10:09:27 +00:00
}
]
} ,
"time" : {
2024-02-02 14:41:08 +00:00
"from" : "now-3h" ,
2019-11-07 10:09:27 +00:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
]
} ,
"timezone" : "" ,
2024-01-16 19:39:52 +00:00
"title" : "VictoriaMetrics - single-node" ,
2022-09-06 14:19:43 +00:00
"uid" : "wNf0q_kZk" ,
2024-04-29 09:54:17 +00:00
"version" : 1 ,
2021-12-20 15:32:05 +00:00
"weekStart" : ""
2025-02-25 08:25:34 +00:00
}