2023-06-20 22:18:52 +00:00
{
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "grafana" ,
"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"
2023-09-15 13:12:23 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-15 13:12:23 +00:00
} ,
"enable" : true ,
2024-05-22 14:32:51 +00:00
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(short_version) unless (sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"} offset $__interval) by(short_version))" ,
2023-09-15 13:12:23 +00:00
"hide" : true ,
"iconColor" : "blue" ,
"name" : "version change" ,
"textFormat" : "{{short_version}}" ,
"titleFormat" : "Version change"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-15 13:12:23 +00:00
} ,
"enable" : true ,
2024-05-22 14:32:51 +00:00
"expr" : "sum(changes(vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(job)" ,
2023-09-15 13:12:23 +00:00
"hide" : true ,
"iconColor" : "orange" ,
"name" : "restarts" ,
"textFormat" : "{{job}} restarted"
2023-06-20 22:18:52 +00:00
}
]
} ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
2025-02-27 10:15:52 +00:00
"description" : "Overview for single-node VictoriaLogs v1.14.0 or higher" ,
2023-06-20 22:18:52 +00:00
"graphTooltip" : 0 ,
2025-02-27 10:15:52 +00:00
"id" : 1 ,
2023-06-20 22:18:52 +00:00
"links" : [ ] ,
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 16 ,
"panels" : [ ] ,
"title" : "Stats" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "Shows total amount of log entries in the storage." ,
2023-06-20 22:18:52 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2023-06-20 22:18:52 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2023-09-10 13:04:07 +00:00
"w" : 4 ,
2023-06-20 22:18:52 +00:00
"x" : 0 ,
"y" : 1
} ,
"id" : 10 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-06-20 22:18:52 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-06-20 22:18:52 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-06-20 22:18:52 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2023-09-10 13:04:07 +00:00
"expr" : "sum(vl_storage_rows{job=~\"$job\", instance=~\"$instance\"})" ,
2023-06-20 22:18:52 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Total log entries" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "Shows the cumulative number of log entires ingested over the last 24h." ,
2023-06-20 22:18:52 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2023-06-20 22:18:52 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
2023-09-10 13:04:07 +00:00
"x" : 4 ,
2023-06-20 22:18:52 +00:00
"y" : 1
} ,
2025-02-27 10:15:52 +00:00
"id" : 65 ,
2023-06-20 22:18:52 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-06-20 22:18:52 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-06-20 22:18:52 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-06-20 22:18:52 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2025-02-27 10:15:52 +00:00
"expr" : "sum(increase(vl_rows_ingested_total{job=~\"$job\", instance=~\"$instance\"}[24h]))" ,
2023-06-20 22:18:52 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Ingested logs 24h" ,
2023-06-20 22:18:52 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "Total amount of used disk space.\nAccounts for all compressed log entries and index size.\n\nSee how to [control disk usage](https://docs.victoriametrics.com/victorialogs/#retention-by-disk-space-usage)." ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2025-02-27 10:15:52 +00:00
"unit" : "bytes"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
"x" : 9 ,
2023-09-10 13:04:07 +00:00
"y" : 1
} ,
2025-02-27 10:15:52 +00:00
"id" : 24 ,
2023-09-10 13:04:07 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-09-10 13:04:07 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-09-10 13:04:07 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2025-02-27 10:15:52 +00:00
"expr" : "sum(vl_data_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
2023-09-10 13:04:07 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Disk space usage" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the average ingestion rate of log entries." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 5 ,
"x" : 14 ,
"y" : 1
} ,
"id" : 22 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"percentChangeColorMode" : "standard" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"text" : { } ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(vl_rows_ingested_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Insert req/s" ,
2023-09-10 13:04:07 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2025-02-27 10:15:52 +00:00
"description" : "Total number of available CPUs for VictoriaLogs process" ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
"x" : 19 ,
2023-09-10 13:04:07 +00:00
"y" : 1
} ,
"id" : 30 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-09-10 13:04:07 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-09-10 13:04:07 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"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"
} ,
2025-02-27 10:15:52 +00:00
{
"description" : "See [latest releases](https://docs.victoriametrics.com/victorialogs/changelog/)." ,
"fieldConfig" : {
"defaults" : { } ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 0 ,
"y" : 3
} ,
"id" : 63 ,
"options" : {
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
"content" : "<div style=\"text-align: center;\">$version</div>" ,
"mode" : "markdown"
} ,
"pluginVersion" : "11.5.0" ,
"title" : "Version" ,
"type" : "text"
} ,
2023-09-10 13:04:07 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2025-02-27 10:15:52 +00:00
"description" : "Shows the cumulative number of log entires ingested over the last 24h. \n\nThe size is calculated before compression." ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
2025-02-27 10:15:52 +00:00
"value" : null
2023-09-10 13:04:07 +00:00
}
]
} ,
2025-02-27 10:15:52 +00:00
"unit" : "bytes"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
"x" : 4 ,
2023-09-10 13:04:07 +00:00
"y" : 3
} ,
2025-02-27 10:15:52 +00:00
"id" : 64 ,
"maxDataPoints" : 100 ,
2023-09-10 13:04:07 +00:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
2025-02-27 10:15:52 +00:00
"orientation" : "horizontal" ,
"percentChangeColorMode" : "standard" ,
2023-09-10 13:04:07 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-09-10 13:04:07 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2025-02-27 10:15:52 +00:00
"expr" : "sum(increase(vl_bytes_ingested_total{job=~\"$job\", instance=~\"$instance\"}[24h]))" ,
"format" : "time_series" ,
2023-09-10 13:04:07 +00:00
"instant" : true ,
"interval" : "" ,
2025-02-27 10:15:52 +00:00
"intervalFactor" : 1 ,
2023-09-10 13:04:07 +00:00
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Ingested bytes 24h" ,
2023-09-10 13:04:07 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "The ratio between original data size and compressed data stored on disk.\n\nCompression ratio doesn't account for indexdb size. It also may change with time, as [merges](https://docs.victoriametrics.com/victorialogs/#forced-merge) are improving compression of historical data." ,
2023-06-20 22:18:52 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2025-02-27 10:15:52 +00:00
"unit" : "none"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
"x" : 9 ,
2023-09-10 13:04:07 +00:00
"y" : 3
} ,
2025-02-27 10:15:52 +00:00
"id" : 25 ,
2023-09-10 13:04:07 +00:00
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-09-10 13:04:07 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-09-10 13:04:07 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2025-02-27 10:15:52 +00:00
"expr" : " sum(vl_uncompressed_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) / sum(vl_compressed_data_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
2023-09-10 13:04:07 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Compression ratio" ,
2023-09-10 13:04:07 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"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 10:10:24 +00:00
"unit" : "short"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
"x" : 14 ,
2023-09-10 13:04:07 +00:00
"y" : 3
} ,
"id" : 36 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-09-10 13:04:07 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-09-10 13:04:07 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-11-14 09:24:29 +00:00
"expr" : "sum(rate(vl_http_requests_total{job=~\"$job\", instance=~\"$instance\", path=~\"/select/.*\"}[$__rate_interval]))" ,
2023-09-10 13:04:07 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"refId" : "A"
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Read req/s" ,
2023-09-10 13:04:07 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2025-02-27 10:15:52 +00:00
"description" : "Total size of available memory for VictoriaLogs process" ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2025-02-27 10:15:52 +00:00
"w" : 5 ,
"x" : 19 ,
2023-09-10 13:04:07 +00:00
"y" : 3
} ,
"id" : 34 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
2025-02-27 10:15:52 +00:00
"percentChangeColorMode" : "standard" ,
2023-09-10 13:04:07 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2023-09-10 13:04:07 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00: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 ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 5
} ,
"id" : 18 ,
"panels" : [ ] ,
"title" : "Overview" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "Shows ingestion rate in number of log entries and bytes per second." ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2023-09-10 13:04:07 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2023-09-10 13:04:07 +00:00
"drawStyle" : "line" ,
2025-02-27 10:15:52 +00:00
"fillOpacity" : 0 ,
2023-09-10 13:04:07 +00:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2023-09-10 13:04:07 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/.*(bytes)/"
} ,
"properties" : [
{
"id" : "custom.axisPlacement" ,
"value" : "right"
} ,
{
"id" : "unit" ,
"value" : "bytes"
}
]
}
]
2023-09-10 13:04:07 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 6
} ,
"id" : 2 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2023-09-10 13:04:07 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vl_rows_ingested_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (type) > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"range" : true ,
"refId" : "A"
2025-02-27 10:15:52 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vl_bytes_ingested_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (type) > 0" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "{{type}} (bytes)" ,
"range" : true ,
"refId" : "B"
2023-09-10 13:04:07 +00:00
}
] ,
2024-11-14 14:14:39 +00:00
"title" : "Logs ingestion rate " ,
2023-09-10 13:04:07 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "* `*` - unsupported query path\n* `/insert` - [inserts](https://docs.victoriametrics.com/victorialogs/data-ingestion/)\n* `/select` - [reads](https://docs.victoriametrics.com/victorialogs/querying/)\n* `/metrics` - scraping of system metrics" ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2023-09-10 13:04:07 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2023-09-10 13:04:07 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2023-09-10 13:04:07 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 6
} ,
"id" : 14 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2023-09-10 13:04:07 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vl_http_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (path) > 0" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Requests rate " ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "* `*` - unsupported query path\n* `/insert` - [inserts](https://docs.victoriametrics.com/victorialogs/data-ingestion/)\n* `/select` - [reads](https://docs.victoriametrics.com/victorialogs/querying/)\n* `/metrics` - scraping of system metrics" ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2023-09-10 13:04:07 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2023-09-10 13:04:07 +00:00
"drawStyle" : "line" ,
2025-02-27 10:15:52 +00:00
"fillOpacity" : 10 ,
2023-09-10 13:04:07 +00:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2023-09-10 13:04:07 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-27 10:15:52 +00:00
"unit" : "short"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 14
} ,
2025-02-27 10:15:52 +00:00
"id" : 69 ,
2023-09-10 13:04:07 +00:00
"options" : {
"legend" : {
"calcs" : [
"mean" ,
2025-02-27 10:15:52 +00:00
"lastNotNull"
2023-09-10 13:04:07 +00:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
2025-02-27 10:15:52 +00:00
"showLegend" : true
2023-09-10 13:04:07 +00:00
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2023-09-10 13:04:07 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"editorMode" : "code" ,
2025-02-27 10:15:52 +00:00
"exemplar" : false ,
"expr" : "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, path) > 0" ,
2023-09-10 13:04:07 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2025-02-27 10:15:52 +00:00
"legendFormat" : "{{instance}} - {{path}}" ,
2023-09-10 13:04:07 +00:00
"range" : true ,
"refId" : "A"
2025-02-27 10:15:52 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(vl_http_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, path) > 0" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}} - {{path}}" ,
"range" : true ,
"refId" : "B"
2023-09-10 13:04:07 +00:00
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Requests error rate" ,
2023-09-10 13:04:07 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"description" : "The less time it takes is better.\n" ,
2023-09-10 13:04:07 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2023-09-10 13:04:07 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2023-09-10 13:04:07 +00:00
"drawStyle" : "line" ,
2025-02-27 10:15:52 +00:00
"fillOpacity" : 10 ,
2023-09-10 13:04:07 +00:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2023-09-10 13:04:07 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2025-02-27 10:15:52 +00:00
"unit" : "s"
2023-09-10 13:04:07 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 14
} ,
2025-02-27 10:15:52 +00:00
"id" : 66 ,
2023-09-10 13:04:07 +00:00
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2023-09-10 13:04:07 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2023-09-10 13:04:07 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"editorMode" : "code" ,
"expr" : "max(vl_http_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=\"0.99\"}) by (instance, path) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}} - {{path}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Query duration 0.99 quantile" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the amount of on-disk space occupied by all the data stored in the storage.\n\nSee how to [control disk usage](https://docs.victoriametrics.com/victorialogs/#retention-by-disk-space-usage)." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 22
} ,
"id" : 6 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(vl_data_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "disk usage" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Disk space usage " ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"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" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 22
} ,
"id" : 67 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_log_messages_total{job=~\"$job\", instance=~\"$instance\", level!=\"info\"}[$__rate_interval])) by (instance, level, location) > 0" ,
"interval" : "5m" ,
"legendFormat" : "{{instance}} - {{level}}: {{location}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Logging rate" ,
"type" : "timeseries"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 30
} ,
"id" : 68 ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the number of restarts per job. The chart can be useful to identify periodic process restarts and correlate them with potential issues or anomalies. Normally, processes shouldn't restart unless restart was inited by user. The reason of restarts should be figured out by checking the logs of each specific service. " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "stepAfter" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 227
} ,
"id" : 62 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(changes(vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]) > 0) by(job)" ,
"format" : "time_series" ,
"instant" : false ,
"legendFormat" : "{{job}}" ,
"refId" : "A"
}
] ,
"title" : "Restarts" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "The number of the new [log streams](https://docs.victoriametrics.com/victorialogs/keyconcepts/#stream-fields) created over the last 24h.\n\nPrefer having as low churn rate as possible. \nSee [How to determine which fields must be associated with log streams?](https://docs.victoriametrics.com/victorialogs/keyconcepts/#how-to-determine-which-fields-must-be-associated-with-log-streams)\n" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 227
} ,
"id" : 26 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "increase(vl_streams_created_total{job=~\"$job\", instance=~\"$instance\"}[1d])" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "new log streams over 24h" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Log stream churn rate" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Flags explicitly set to non-default values" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
"cellOptions" : {
"type" : "auto"
} ,
"inspect" : false
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
2024-10-30 15:44:08 +00:00
} ,
2025-02-27 10:15:52 +00:00
"overrides" : [
2024-10-30 15:44:08 +00:00
{
2025-02-27 10:15:52 +00:00
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
2024-10-30 15:44:08 +00:00
} ,
{
2025-02-27 10:15:52 +00:00
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "job"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
2024-10-30 15:44:08 +00:00
}
]
} ,
2025-02-27 10:15:52 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 291
} ,
"id" : 70 ,
"options" : {
"cellHeight" : "sm" ,
"footer" : {
"countRows" : false ,
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
} ,
"showHeader" : true
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(flag{is_set=\"true\", job=~\"$job\", instance=~\"$instance\"}) by(job, instance, name, value)" ,
"format" : "table" ,
"instant" : true ,
"legendFormat" : "__auto" ,
"range" : false ,
"refId" : "A"
}
2024-10-30 15:44:08 +00:00
] ,
2025-02-27 10:15:52 +00:00
"title" : "Non-default flags" ,
"type" : "table"
2024-10-30 15:44:08 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2025-02-27 10:15:52 +00:00
"description" : "Shows how many log entries were ignored or dropped on insertion due to various reasons:\n* timestamp out of retention period or timestamp in future;\n* number of fields per entry exceeded." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 291
} ,
"id" : 71 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "11.5.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(increase(vl_rows_dropped_total{job=~\"$job\", instance=~\"$instance\"}[1h])) by (instance, reason)" ,
"hide" : false ,
"interval" : "" ,
"legendFormat" : "{{instance}} - {{reason}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Logs dropped for last 1h" ,
"type" : "timeseries"
2024-10-30 15:44:08 +00:00
}
] ,
2025-02-27 10:15:52 +00:00
"title" : "Troubleshooting" ,
"type" : "row"
2024-10-30 15:44:08 +00:00
} ,
2023-09-10 13:04:07 +00:00
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 31
2023-09-10 13:04:07 +00:00
} ,
"id" : 28 ,
2024-09-23 14:54:42 +00:00
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"description" : "Percentage of used memory (resident).\nThe application's performance will significantly degrade when memory usage is close to 100%." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 228
2024-09-23 14:54:42 +00:00
} ,
"id" : 38 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "desc"
2023-09-10 13:04:07 +00:00
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"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"
}
2023-09-10 13:04:07 +00:00
] ,
2024-09-23 14:54:42 +00:00
"title" : "RSS memory % usage ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-02-27 10:15:52 +00:00
"y" : 228
2024-09-23 14:54:42 +00:00
} ,
"id" : 40 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "desc"
2023-09-10 13:04:07 +00:00
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"expr" : "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "requested from system" ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(go_memstats_heap_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "heap inuse" ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "stack inuse" ,
"refId" : "C"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "resident" ,
"refId" : "D"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : false ,
"expr" : "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "resident anonymous" ,
"refId" : "E"
}
2023-09-10 13:04:07 +00:00
] ,
2024-09-23 14:54:42 +00:00
"title" : "Memory usage ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "Share for memory allocated by the process itself. When memory usage reaches 100% it will be likely OOM-killed.\nSafe memory usage % considered to be below 80%" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 236
2024-09-23 14:54:42 +00:00
} ,
"id" : 42 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
2023-09-10 13:04:07 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"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"
}
] ,
"title" : "RSS anonymous memory % usage ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-02-27 10:15:52 +00:00
"y" : 236
2024-09-23 14:54:42 +00:00
} ,
"id" : 44 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2025-01-28 12:58:06 +00:00
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job\", instance=~\"$instance\"}\n) by(instance)" ,
2024-09-23 14:54:42 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CPU % usage ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"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" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 244
2024-09-23 14:54:42 +00:00
} ,
"id" : 46 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"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"
}
] ,
"title" : "Open FDs ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [
2023-09-10 13:04:07 +00:00
{
2024-09-23 14:54:42 +00:00
"matcher" : {
"id" : "byName" ,
"options" : "Limit"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#F2495C" ,
"mode" : "fixed"
}
}
]
2023-06-20 22:18:52 +00:00
}
]
} ,
2024-09-23 14:54:42 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-02-27 10:15:52 +00:00
"y" : 244
2024-09-23 14:54:42 +00:00
} ,
"id" : 48 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "CPU cores used" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : false ,
"expr" : "process_cpu_cores_available{job=~\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Limit" ,
"refId" : "B"
}
] ,
"title" : "CPU ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 252
2024-09-23 14:54:42 +00:00
} ,
"id" : 50 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
2023-06-20 22:18:52 +00:00
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"editorMode" : "code" ,
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{instance}}" ,
"range" : true ,
"refId" : "A"
}
2023-06-20 22:18:52 +00:00
] ,
2024-09-23 14:54:42 +00:00
"title" : "Goroutines ($instance)" ,
"type" : "timeseries"
2023-06-20 22:18:52 +00:00
} ,
{
"datasource" : {
2023-09-10 13:04:07 +00:00
"type" : "prometheus" ,
2023-06-20 22:18:52 +00:00
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "Shows the number of bytes read/write from the storage layer." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"unit" : "bytes"
} ,
"overrides" : [
2023-06-20 22:18:52 +00:00
{
2024-09-23 14:54:42 +00:00
"matcher" : {
"id" : "byName" ,
"options" : "read"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
2023-06-20 22:18:52 +00:00
}
]
} ,
2024-09-23 14:54:42 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-02-27 10:15:52 +00:00
"y" : 252
2024-09-23 14:54:42 +00:00
} ,
"id" : 52 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 13:04:07 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(rate(process_io_storage_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "read" ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(rate(process_io_storage_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "write" ,
"refId" : "B"
}
2023-06-20 22:18:52 +00:00
] ,
2024-09-23 14:54:42 +00:00
"title" : "Disk writes/reads ($instance)" ,
"type" : "timeseries"
2023-06-20 22:18:52 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 260
2024-09-23 14:54:42 +00:00
} ,
"id" : 54 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"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"
}
] ,
"title" : "Threads ($instance)" ,
"type" : "timeseries"
2023-09-10 13:04:07 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "Shows the number of read/write syscalls such as read, pread, write, pwrite." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "read calls"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-02-27 10:15:52 +00:00
"y" : 260
2024-09-23 14:54:42 +00:00
} ,
"id" : 56 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_read_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "read calls" ,
"range" : true ,
"refId" : "A"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_write_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "write calls" ,
"range" : true ,
"refId" : "B"
2023-06-20 22:18:52 +00:00
}
2024-09-23 14:54:42 +00:00
] ,
"title" : "Disk write/read calls ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 268
2024-09-23 14:54:42 +00:00
} ,
"id" : 58 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
}
2023-06-20 22:18:52 +00:00
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"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"
}
2023-06-20 22:18:52 +00:00
] ,
2024-09-23 14:54:42 +00:00
"title" : "TCP connections rate ($instance)" ,
"type" : "timeseries"
2023-06-20 22:18:52 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2025-02-27 10:15:52 +00:00
"y" : 268
2024-09-23 14:54:42 +00:00
} ,
"id" : 60 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "none"
2023-06-20 22:18:52 +00:00
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-06-20 22:18:52 +00:00
} ,
2024-09-23 14:54:42 +00:00
"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"
}
2023-06-20 22:18:52 +00:00
] ,
2024-09-23 14:54:42 +00:00
"title" : "TCP connections ($instance)" ,
"type" : "timeseries"
2023-06-20 22:18:52 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 14:54:42 +00:00
"description" : "Shows the time goroutines have spent in runnable state before actually running. The lower is better.\n\nHigh values or values exceeding the threshold is usually a sign of insufficient CPU resources or CPU throttling. \n\nVerify that service has enough CPU resources. Otherwise, the service could work unreliably with delays in processing." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2025-02-27 10:15:52 +00:00
"barWidthFactor" : 0.6 ,
2024-09-23 14:54:42 +00:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-02-27 10:15:52 +00:00
"color" : "green" ,
"value" : null
2024-09-23 14:54:42 +00:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2025-02-27 10:15:52 +00:00
"y" : 276
2024-09-23 14:54:42 +00:00
} ,
"id" : 61 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2025-02-27 10:15:52 +00:00
"hideZeros" : false ,
2024-09-23 14:54:42 +00:00
"mode" : "multi" ,
"sort" : "desc"
}
} ,
2025-02-27 10:15:52 +00:00
"pluginVersion" : "11.5.0" ,
2024-09-23 14:54:42 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(histogram_quantile(0.99, sum(rate(go_sched_latencies_seconds_bucket{job=~\"$job\"}[$__rate_interval])) by (job, instance, le))) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Go scheduling latency" ,
"type" : "timeseries"
2023-06-20 22:18:52 +00:00
}
] ,
2024-09-23 14:54:42 +00:00
"title" : "Resource usage" ,
"type" : "row"
2023-06-20 22:18:52 +00:00
}
] ,
2025-02-27 10:15:52 +00:00
"preload" : false ,
2024-02-02 14:41:08 +00:00
"refresh" : "" ,
2025-02-27 10:15:52 +00:00
"schemaVersion" : 40 ,
2023-06-20 22:18:52 +00:00
"tags" : [ ] ,
"templating" : {
2023-09-10 13:04:07 +00:00
"list" : [
{
"current" : {
2024-02-02 14:41:08 +00:00
"text" : "VictoriaMetrics" ,
"value" : "P4169E866C3094E38"
2023-09-10 13:04:07 +00:00
} ,
"includeAll" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "datasource"
} ,
{
2024-02-02 14:41:08 +00:00
"current" : { } ,
2023-09-10 13:04:07 +00:00
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"definition" : "label_values(vm_app_version{version=~\"victoria-logs-.*\"}, job)" ,
"includeAll" : false ,
"name" : "job" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{version=~\"victoria-logs-.*\"}, job)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "query"
} ,
{
2024-02-02 14:41:08 +00:00
"current" : { } ,
2023-09-10 13:04:07 +00:00
"datasource" : {
"type" : "prometheus" ,
2024-02-02 14:41:08 +00:00
"uid" : "$ds"
2023-09-10 13:04:07 +00:00
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
2024-11-07 13:22:53 +00:00
"includeAll" : true ,
"multi" : true ,
2023-09-10 13:04:07 +00:00
"name" : "instance" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "query"
} ,
{
2025-02-27 10:15:52 +00:00
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${ds}"
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\", instance=~\"$instance\"},short_version)" ,
"hide" : 2 ,
"name" : "version" ,
"options" : [ ] ,
"query" : {
"qryType" : 1 ,
"query" : "label_values(vm_app_version{job=~\"$job\", instance=~\"$instance\"},short_version)" ,
"refId" : "PrometheusVariableQueryEditor-VariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "query"
} ,
{
"baseFilters" : [ ] ,
2023-09-15 13:12:23 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2023-09-10 13:04:07 +00:00
"filters" : [ ] ,
"name" : "adhoc" ,
"type" : "adhoc"
}
]
2023-06-20 22:18:52 +00:00
} ,
"time" : {
2025-02-27 10:15:52 +00:00
"from" : "now-3h" ,
2023-06-20 22:18:52 +00:00
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
2025-02-27 10:15:52 +00:00
"title" : "VictoriaLogs - single-node" ,
2023-06-20 22:18:52 +00:00
"uid" : "OqPIZTX4z" ,
2024-02-02 14:41:08 +00:00
"version" : 1 ,
2023-06-20 22:18:52 +00:00
"weekStart" : ""
2025-02-27 10:15:52 +00:00
}