2023-08-29 11:06:55 +02:00
{
"__inputs" : [ ] ,
"__elements" : { } ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-04-29 12:10:24 +02:00
"version" : "10.4.2"
2023-08-29 11:06:55 +02:00
} ,
{
"type" : "datasource" ,
"id" : "victoriametrics-datasource" ,
"name" : "VictoriaMetrics" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "table" ,
"name" : "Table" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
"type" : "dashboard"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"enable" : true ,
2023-11-14 09:50:06 +01:00
"expr" : "sum(ALERTS{job=~\"$job\", instance=~\"$instance\", alertgroup=\"vmsingle\",alertstate=\"firing\",show_at=\"dashboard\"}) by(alertname)" ,
2023-08-29 11:06:55 +02:00
"iconColor" : "red" ,
"name" : "alerts" ,
"titleFormat" : "{{alertname}}"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"enable" : true ,
2024-05-22 16:32:51 +02: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))" ,
2023-08-29 11:06:55 +02:00
"hide" : true ,
"iconColor" : "dark-blue" ,
"name" : "version" ,
2023-11-16 09:26:47 +01:00
"textFormat" : "{{version}}" ,
2023-08-29 11:06:55 +02:00
"titleFormat" : "Version change"
}
]
} ,
2024-01-16 20:39:52 +01:00
"description" : "Overview for single-node VictoriaMetrics v1.83.0 or higher" ,
2023-08-29 11:06:55 +02:00
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"gnetId" : 10229 ,
"graphTooltip" : 1 ,
"id" : null ,
"links" : [
{
"icon" : "doc" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Single server Wiki" ,
"type" : "link" ,
"url" : "https://docs.victoriametrics.com/"
} ,
{
"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" ,
"tooltip" : "" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
"liveNow" : false ,
"panels" : [
{
"collapsed" : false ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 6 ,
"panels" : [ ] ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
"title" : "Stats" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "" ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 85 ,
"options" : {
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
"content" : "<div style=\"text-align: center;\">$version</div>" ,
"mode" : "markdown"
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
"title" : "Version" ,
"type" : "text"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "How many datapoints are in storage" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 4 ,
"y" : 1
} ,
"id" : 26 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
2023-08-29 11:06:55 +02:00
"exemplar" : false ,
"expr" : "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Total datapoints" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the datapoints ingestion rate." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 9 ,
"y" : 1
} ,
"id" : 107 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Ingestion rate" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the rate of HTTP read requests." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 14 ,
"y" : 1
} ,
"id" : 108 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\", path!~\".*(/write|/metrics)\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Read requests" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Total number of available CPUs for VM process" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 19 ,
"y" : 1
} ,
"id" : 77 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"exemplar" : false ,
"expr" : "sum(vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Available CPU" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "red" ,
"value" : null
} ,
{
"color" : "green" ,
"value" : 1800
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "s"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 0 ,
"y" : 3
} ,
"id" : 87 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "min(vm_app_uptime_seconds{job=~\"$job\", instance=~\"$instance\"})" ,
2023-08-29 11:06:55 +02:00
"instant" : true ,
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Uptime" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01: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." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 4 ,
"y" : 3
} ,
"id" : 38 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
2023-08-29 11:06:55 +02:00
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"})" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Active series" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Total amount of used disk space" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "bytes"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 9 ,
"y" : 3
} ,
"id" : 81 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Disk space usage" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Average disk usage per datapoint." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "bytes"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 14 ,
"y" : 3
} ,
"id" : 82 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "max(sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) / sum(vm_rows{job=~\"$job\", instance=~\"$instance\"}))" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Bytes per point" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Total size of available memory for VM process" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "bytes"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 19 ,
"y" : 3
} ,
"id" : 78 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 15:41:08 +01:00
"showPercentChange" : false ,
2023-08-29 11:06:55 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"uid" : "$ds"
} ,
"exemplar" : false ,
"expr" : "sum(vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Available memory" ,
"type" : "stat"
} ,
{
"collapsed" : false ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 5
} ,
"id" : 24 ,
"panels" : [ ] ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
"title" : "Overview" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "How many datapoints are inserted into storage per second" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 6
} ,
"id" : 106 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (type, instance) > 0" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{type}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Datapoints ingestion rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"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)" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 6
} ,
"id" : 12 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (path, instance) > 0" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{path}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Requests rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01: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:" ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 14
} ,
"id" : 51 ,
"links" : [
{
"targetBlank" : true ,
"title" : "troubleshooting" ,
2024-03-04 15:43:31 +01:00
"url" : "https://docs.victoriametrics.com/troubleshooting"
2023-08-29 11:06:55 +02:00
}
] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
2023-08-29 11:06:55 +02:00
"expr" : "vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Active time series" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"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)" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:41:08 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "s"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 14
} ,
"id" : 22 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "max(vm_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=\"0.99\"}) by (instance, path) > 0" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{path}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Query duration 0.99 quantile" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"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)" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:34:36 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 22
} ,
"id" : 35 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, path) > 0" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{path}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Requests error rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the rate of logging the messages by their level. Unexpected spike in rate is a good reason to check logs." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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 10:34:36 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-04-29 12:10:24 +02:00
}
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 22
} ,
"id" : 110 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(vm_log_messages_total{job=~\"$job\", instance=~\"$instance\", level!=\"info\"}[$__rate_interval])) by (instance, level, location) > 0" ,
2023-08-29 11:06:55 +02:00
"interval" : "5m" ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{level}}: {{location}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Logging rate" ,
"type" : "timeseries"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 30
} ,
"id" : 46 ,
"panels" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2023-11-14 09:50:06 +01: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" ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 3
2023-08-29 11:06:55 +02:00
} ,
"id" : 112 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"}\n) by(instance)" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "RSS memory % usage" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "bytes" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 3
2023-08-29 11:06:55 +02:00
} ,
"id" : 44 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02: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-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - requested from system" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02: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-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - heap inuse" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - stack inuse" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "C"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - resident" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "D"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
2023-08-29 11:06:55 +02:00
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - resident anonymous" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "E"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Memory usage" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2023-11-14 09:50:06 +01: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" ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 11
2023-08-29 11:06:55 +02:00
} ,
"id" : 123 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"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 ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "RSS anonymous memory % usage" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 16:21:21 +01:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 11
2023-08-29 11:06:55 +02:00
} ,
"id" : 114 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"}\n) by(instance)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "CPU % usage" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "percentunit"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 19
2023-08-29 11:06:55 +02:00
} ,
"id" : 75 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max_over_time(process_open_fds{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n/\nprocess_max_fds{job=~\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Open FDs" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"description" : "CPU cores used by instance" ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Limit"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#F2495C" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 19
2023-08-29 11:06:55 +02:00
} ,
"id" : 57 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
2023-08-29 11:06:55 +02:00
"expr" : "rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
2023-08-29 11:06:55 +02:00
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "min(process_cpu_cores_available{job=~\"$job\", instance=~\"$instance\"})" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Limit" ,
2024-04-29 10:34:36 +02:00
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "CPU" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 27
2023-08-29 11:06:55 +02:00
} ,
"id" : 47 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Goroutines" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the number of bytes read/write from the storage layer." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "bytes"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [
{
"matcher" : {
2024-04-29 10:34:36 +02:00
"id" : "byRegexp" ,
"options" : "/.*read/"
2023-08-29 11:06:55 +02:00
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 27
2023-08-29 11:06:55 +02:00
} ,
"id" : 76 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_storage_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - read" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_storage_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - write" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Disk writes/reads" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 35
2023-08-29 11:06:55 +02:00
} ,
"id" : 48 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Threads" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the number of read/write syscalls such as read, pread, write, pwrite." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [
{
"matcher" : {
2024-04-29 10:34:36 +02:00
"id" : "byRegexp" ,
"options" : "/.*read.*/"
2023-08-29 11:06:55 +02:00
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 35
2023-08-29 11:06:55 +02:00
} ,
"id" : 124 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(process_io_read_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - read calls" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(process_io_write_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - write calls" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Disk write/read calls" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 43
2023-08-29 11:06:55 +02:00
} ,
"id" : 49 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance)" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "TCP connections rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 16:21:21 +01:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 16:21:21 +01:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "short"
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 43
2023-08-29 11:06:55 +02:00
} ,
"id" : 37 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "TCP connections" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
2024-02-02 16:21:21 +01:00
} ,
2024-04-29 11:54:17 +02:00
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 ,
"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" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2024-04-29 11:54:17 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "decbits"
2024-04-29 11:54:17 +02:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-09-23 16:54:42 +02:00
"y" : 51
2024-04-29 11:54:17 +02:00
} ,
"id" : 127 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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" : "victoriametrics-datasource" ,
"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 16:21:21 +01:00
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the percent of CPU spent on garbage collection.\n\nIf % is high, then CPU usage can be decreased by changing GOGC to higher values. Increasing GOGC value will increase memory usage, and decrease CPU usage.\n\nTry searching for keyword `GOGC` at https://docs.victoriametrics.com/troubleshooting/ " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-23 16:54:42 +02:00
"color" : "green" ,
"value" : null
2024-02-02 16:21:21 +01:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-23 16:54:42 +02:00
"unit" : "percentunit"
2024-02-02 16:21:21 +01:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2024-04-29 11:54:17 +02:00
"x" : 12 ,
2024-09-23 16:54:42 +02:00
"y" : 51
2024-02-02 16:21:21 +01:00
} ,
"id" : 125 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 10:34:36 +02:00
"title" : "CPU spent on GC" ,
2024-02-02 16:21:21 +01:00
"type" : "timeseries"
2024-09-23 16:54:42 +02:00
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows the time goroutines have spent in runnable state before actually running. The lower is better.\n\nHigh values or values exceeding the threshold is usually a sign of insufficient CPU resources or CPU throttling. \n\nVerify that service has enough CPU resources. Otherwise, the service could work unreliably with delays in processing." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 59
} ,
"id" : 128 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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"
2023-08-29 11:06:55 +02:00
}
] ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
"title" : "Resource usage" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 31
} ,
"id" : 71 ,
"panels" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01: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" ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 4
2023-08-29 11:06:55 +02:00
} ,
"id" : 66 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"interval" : "" ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - churn rate" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(increase(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[24h])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"interval" : "" ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - new series over 24h" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Churn rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01:00
"description" : "The percentage of slow inserts comparing to total insertion rate during the last 5 minutes. \n\nThe less value is better. If 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\nIn general, VictoriaMetrics requires ~1KB or RAM per active time series, so it should be easy calculating the required amounts of RAM for the current workload according to capacity planning docs. But the resulting number may be far from the real number because the required amounts of memory depends on many other factors such as the number of labels per time series and the length of label values. See also [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3976#issuecomment-1476883183) for details." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-04-29 11:54:17 +02:00
"color" : "transparent"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 4
2023-08-29 11:06:55 +02:00
} ,
"id" : 68 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02: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)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Slow inserts %" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 12
2023-08-29 11:06:55 +02:00
} ,
"id" : 116 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(increase(vm_assisted_merges_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance, type) > 0" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"interval" : "5m" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{type}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Assisted merges" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Slow queries rate according to `search.logSlowQueryDuration` flag, which is `5s` by default." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 12
2023-08-29 11:06:55 +02:00
} ,
"id" : 60 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_slow_queries_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}}" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Slow queries rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 20
2023-08-29 11:06:55 +02:00
} ,
"id" : 90 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{type}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Cache usage % by type" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows cache miss ratio. Lower is better." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"max" : 1 ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "percentunit" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 20
2023-08-29 11:06:55 +02:00
} ,
"id" : 118 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"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" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{type}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Cache miss ratio" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"description" : "Flags explicitly set to non-default values" ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
2024-02-02 15:41:08 +01:00
"cellOptions" : {
"type" : "auto"
} ,
2023-08-29 11:06:55 +02:00
"inspect" : false
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-04-29 10:34:36 +02:00
} ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [
2024-04-29 10:34:36 +02:00
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
2023-08-29 11:06:55 +02:00
{
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
2024-04-29 10:34:36 +02:00
"options" : "job"
2023-08-29 11:06:55 +02:00
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 29
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 10:34:36 +02:00
"id" : 126 ,
2023-08-29 11:06:55 +02:00
"options" : {
2024-04-29 10:34:36 +02:00
"cellHeight" : "sm" ,
2023-08-29 11:06:55 +02:00
"footer" : {
2024-04-29 10:34:36 +02:00
"countRows" : false ,
2023-08-29 11:06:55 +02:00
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
} ,
2024-04-29 10:34:36 +02:00
"showHeader" : true
2023-08-29 11:06:55 +02:00
} ,
2024-04-29 10:34:36 +02:00
"pluginVersion" : "10.3.1" ,
2023-08-29 11:06:55 +02:00
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-01-29 07:37:51 +01:00
"description" : "VictoriaMetrics limits the number of labels per each metric with `-maxLabelsPerTimeseries` command-line flag.\n\nThis prevents from ingesting metrics with too many labels. The value of `maxLabelsPerTimeseries` must be adjusted for your workload.\n\nWhen limit is exceeded (graph is > 0) - extra labels are dropped, which could result in unexpected identical time series. See more details about dropped labels in logs." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-04-29 11:54:17 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 29
2023-08-29 11:06:55 +02:00
} ,
"id" : 74 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(increase(vm_metrics_with_dropped_labels_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - limit exceeded" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Labels limit exceeded" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
"title" : "Troubleshooting" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 32
} ,
"id" : 14 ,
"panels" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "How many datapoints are inserted into storage per second" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 5
2023-08-29 11:06:55 +02:00
} ,
"id" : 10 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, type) > 0" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{type}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Datapoints ingestion rate" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-02-08 09:51:43 +01:00
"description" : "Shows the approx time needed to reach 100% of disk capacity based on the following params:\n* free disk space;\n* row ingestion rate;\n* compression.\n\nNote: this panel doesn't account for deduplication process." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "s" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 5
2023-08-29 11:06:55 +02:00
} ,
"id" : 73 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"min"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-02-08 09:43:39 +01:00
"expr" : "vm_free_disk_space_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 )" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Storage full ETA" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows amount of on-disk space occupied by data points and the remaining disk space at `-storageDataPath`" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "bytes" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 13
2023-08-29 11:06:55 +02:00
} ,
"id" : 53 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - Used (datapoints)" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"expr" : "vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - Free" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type=~\"indexdb.*\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - Used (index)" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "C"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Disk space usage - datapoints" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-10-11 13:47:14 +02: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." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02: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 ,
2024-04-29 10:34:36 +02:00
"y" : 13
2023-08-29 11:06:55 +02:00
} ,
"id" : 34 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"expr" : "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"storage\"}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - pending datapoints" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"expr" : "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - pending index entries" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Pending datapoints" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"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 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02: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 ,
2024-04-29 10:34:36 +02:00
"y" : 21
2023-08-29 11:06:55 +02:00
} ,
"id" : 30 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - total datapoints" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-04-29 10:34:36 +02: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)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - bytes-per-datapoint" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Datapoints" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"uid" : "$ds"
} ,
"description" : "Data parts of LSM tree.\nHigh number of parts could be 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 big parts (cold data)" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 21
2023-08-29 11:06:55 +02:00
} ,
"id" : 36 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(vm_parts{job=~\"$job\", instance=~\"$instance\"}) by (instance, type)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "LSM parts" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 29
2023-08-29 11:06:55 +02:00
} ,
"id" : 58 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-04-29 10:34:36 +02:00
"expr" : "sum(increase(vm_rows_ignored_total{job=~\"$job\", instance=~\"$instance\"}[1h])) by (instance, reason)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - {{reason}}" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Rows ignored for last 1h" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "The number of on-going merges in storage nodes. It is expected to have high numbers for `storage/small` metric." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 29
2023-08-29 11:06:55 +02:00
} ,
"id" : 62 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(vm_active_merges{job=~\"$job\", instance=~\"$instance\"}) by(instance, type)" ,
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Active merges" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"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" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 37
2023-08-29 11:06:55 +02:00
} ,
"id" : 59 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max_over_time(vm_concurrent_insert_capacity{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - max" ,
2023-08-29 11:06:55 +02:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(vm_concurrent_insert_current{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
2023-08-29 11:06:55 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-29 10:34:36 +02:00
"legendFormat" : "{{instance}} - current" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "B"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Concurrent flushes on disk" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "The number of rows merged per second by storage nodes." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 37
2023-08-29 11:06:55 +02:00
} ,
"id" : 64 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-29 10:34:36 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_rows_merged_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance, type)" ,
"legendFormat" : "{{instance}} - {{type}}" ,
"range" : true ,
2023-08-29 11:06:55 +02:00
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Merge speed" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"description" : "99th percentile of number of series read per query." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 45
2023-08-29 11:06:55 +02:00
} ,
"id" : 99 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(vm_series_read_per_query_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Series read per query" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) read per queried series." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 45
2023-08-29 11:06:55 +02:00
} ,
"id" : 103 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(vm_rows_read_per_series_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Datapoints read per series" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-03-04 15:43:31 +01:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) read per query." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:34:36 +02:00
"y" : 53
2023-08-29 11:06:55 +02:00
} ,
"id" : 122 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(vm_rows_read_per_query_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Datapoints read per query" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
2024-04-18 02:14:53 +02: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://victoriametrics-datasource.io/docs/victoriametrics-datasource/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." ,
2023-08-29 11:06:55 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 10:34:36 +02:00
"axisBorderShow" : false ,
2023-08-29 11:06:55 +02:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 10:34:36 +02:00
"insertNulls" : false ,
2023-08-29 11:06:55 +02: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" : [
{
2024-04-29 12:10:24 +02:00
"color" : "green"
2023-08-29 11:06:55 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:34:36 +02:00
"unit" : "short" ,
"unitScale" : true
2023-08-29 11:06:55 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:34:36 +02:00
"y" : 53
2023-08-29 11:06:55 +02:00
} ,
"id" : 105 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(vm_rows_scanned_per_query_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-29 10:34:36 +02:00
"title" : "Datapoints scanned per query" ,
2023-08-29 11:06:55 +02:00
"type" : "timeseries"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
"title" : "Storage" ,
"type" : "row"
}
] ,
2024-02-02 15:41:08 +01:00
"refresh" : "" ,
"schemaVersion" : 39 ,
2023-08-29 11:06:55 +02:00
"tags" : [
"victoriametrics" ,
"vmsingle"
] ,
"templating" : {
"list" : [
{
"current" : {
"selected" : false ,
"text" : "VictoriaMetrics" ,
2024-02-02 15:41:08 +01:00
"value" : "P4169E866C3094E38"
2023-08-29 11:06:55 +02:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "victoriametrics-datasource" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"current" : { } ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"definition" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
"refId" : "VictoriaMetrics-job-Variable-Query"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"current" : { } ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\", instance=~\"$instance\"}, version)" ,
"hide" : 2 ,
"includeAll" : false ,
"multi" : false ,
"name" : "version" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\", instance=~\"$instance\"}, version)" ,
"refId" : "VictoriaMetrics-version-Variable-Query"
} ,
"refresh" : 1 ,
2024-04-29 11:11:28 +02:00
"regex" : "/.*-(?:tags|heads)-(.*)-(?:0|dirty)-.*/" ,
2023-08-29 11:06:55 +02:00
"skipUrlSync" : false ,
"sort" : 2 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
2024-04-29 10:34:36 +02:00
"allValue" : ".*" ,
2023-08-29 11:06:55 +02:00
"current" : { } ,
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
2024-04-29 10:34:36 +02:00
"includeAll" : true ,
"multi" : true ,
2023-08-29 11:06:55 +02:00
"name" : "instance" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "VictoriaMetrics-instance-Variable-Query"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"datasource" : {
"type" : "victoriametrics-datasource" ,
"uid" : "$ds"
} ,
"filters" : [ ] ,
"hide" : 0 ,
"name" : "adhoc" ,
"skipUrlSync" : false ,
"type" : "adhoc"
}
]
} ,
"time" : {
2024-02-02 15:41:08 +01:00
"from" : "now-3h" ,
2023-08-29 11:06:55 +02:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "" ,
2024-01-22 16:51:24 +01:00
"title" : "VictoriaMetrics - single-node (VM)" ,
2023-08-29 11:06:55 +02:00
"uid" : "wNf0q_kZk_vm" ,
2024-04-29 11:54:17 +02:00
"version" : 1 ,
2023-08-29 11:06:55 +02:00
"weekStart" : ""
2024-04-29 11:54:17 +02:00
}