2023-06-21 00:18:52 +02:00
{
2024-02-02 15:41:08 +01:00
"__inputs" : [ ] ,
"__elements" : { } ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-04-29 12:10:24 +02:00
"version" : "10.4.2"
2024-02-02 15:41:08 +01:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
}
] ,
2023-06-21 00:18:52 +02: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 15:12:23 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-15 15:12:23 +02:00
} ,
"enable" : true ,
2024-05-22 16:32:51 +02:00
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(short_version) unless (sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"} offset $__interval) by(short_version))" ,
2023-09-15 15:12:23 +02:00
"hide" : true ,
"iconColor" : "blue" ,
"name" : "version change" ,
"textFormat" : "{{short_version}}" ,
"titleFormat" : "Version change"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-15 15:12:23 +02:00
} ,
"enable" : true ,
2024-05-22 16:32:51 +02:00
"expr" : "sum(changes(vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(job)" ,
2023-09-15 15:12:23 +02:00
"hide" : true ,
"iconColor" : "orange" ,
"name" : "restarts" ,
"textFormat" : "{{job}} restarted"
2023-06-21 00:18:52 +02:00
}
]
} ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 0 ,
2024-02-02 15:41:08 +01:00
"id" : null ,
2023-06-21 00:18:52 +02:00
"links" : [ ] ,
"liveNow" : false ,
"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 15:41:08 +01:00
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
"description" : "How many log entries 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-06-21 00:18:52 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2023-09-10 15:04:07 +02:00
"w" : 4 ,
2023-06-21 00:18:52 +02:00
"x" : 0 ,
"y" : 1
} ,
"id" : 10 ,
"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-06-21 00:18:52 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-06-21 00:18:52 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-06-21 00:18:52 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2023-09-10 15:04:07 +02:00
"expr" : "sum(vl_storage_rows{job=~\"$job\", instance=~\"$instance\"})" ,
2023-06-21 00:18:52 +02:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Total log entries" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
"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-06-21 00:18:52 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
2023-09-10 15:04:07 +02:00
"w" : 4 ,
"x" : 4 ,
2023-06-21 00:18:52 +02:00
"y" : 1
} ,
"id" : 22 ,
"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-06-21 00:18:52 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-06-21 00:18:52 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-06-21 00:18:52 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2023-09-10 15:04:07 +02:00
"expr" : "sum(rate(vl_rows_ingested_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
2023-06-21 00:18:52 +02:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Ingestion rate" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"description" : "The ratio of original data size and compressed data stored on disk" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 12:10:24 +02:00
"unit" : "none"
2023-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 8 ,
"y" : 1
} ,
"id" : 25 ,
"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-09-10 15:04:07 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 15:04:07 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-09-10 15:04:07 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : " sum(vl_uncompressed_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) / sum(vl_compressed_data_size_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
2024-04-16 09:50:46 +02:00
"title" : "Compression ratio" ,
2023-09-10 15:04:07 +02:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"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-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 12 ,
"y" : 1
} ,
"id" : 30 ,
"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-09-10 15:04:07 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 15:04:07 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-09-10 15:04:07 +02: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"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"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-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 0 ,
"y" : 3
} ,
"id" : 32 ,
"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-09-10 15:04:07 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 15:04:07 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-09-10 15:04:07 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "vm_app_uptime_seconds{job=~\"$job\", instance=~\"$instance\"}" ,
"instant" : true ,
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Uptime" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
"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-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 4 ,
"y" : 3
} ,
"id" : 24 ,
"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-09-10 15:04:07 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 15:04:07 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-09-10 15:04:07 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(vl_compressed_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" : "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 12:10:24 +02:00
"unit" : "short"
2023-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 8 ,
"y" : 3
} ,
"id" : 36 ,
"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-09-10 15:04:07 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 15:04:07 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-09-10 15:04:07 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2024-11-14 10:24:29 +01:00
"expr" : "sum(rate(vl_http_requests_total{job=~\"$job\", instance=~\"$instance\", path=~\"/select/.*\"}[$__rate_interval]))" ,
2023-09-10 15:04:07 +02:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"refId" : "A"
}
] ,
"title" : "Read requests" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"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-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 2 ,
"w" : 4 ,
"x" : 12 ,
"y" : 3
} ,
"id" : 34 ,
"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-09-10 15:04:07 +02:00
"text" : { } ,
2024-02-02 15:41:08 +01:00
"textMode" : "auto" ,
"wideLayout" : true
2023-09-10 15:04:07 +02:00
} ,
2024-04-29 12:10:24 +02:00
"pluginVersion" : "10.4.2" ,
2023-09-10 15:04:07 +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 ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 5
} ,
"id" : 18 ,
"panels" : [ ] ,
"title" : "Overview" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"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-09-10 15:04:07 +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-09-10 15:04:07 +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-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"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" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02: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"
}
] ,
"title" : "Datapoints ingestion rate " ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"description" : "* `*` - unsupported query path\n* `/insert` - insert into VM\n* `/metrics` - query VL system metrics\n* `/query` - read the data" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-09-10 15:04:07 +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-09-10 15:04:07 +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-09-10 15:04:07 +02: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" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02: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 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"description" : "Shows the amount of on-disk space occupied by data before and after compressiom" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-09-10 15:04:07 +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-09-10 15:04:07 +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" : "bytes"
2023-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 14
} ,
"id" : 6 ,
"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" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"editorMode" : "code" ,
"expr" : "sum(vl_compressed_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" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"description" : "The number of the new log streams created over the last 24h" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:41:08 +01:00
"axisBorderShow" : false ,
2023-09-10 15:04:07 +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-09-10 15:04:07 +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-09-10 15:04:07 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 14
} ,
"id" : 26 ,
"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" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"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"
} ,
2024-10-30 16:44:08 +01:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the number of restarts per job. The chart can be useful to identify periodic process restarts and correlate them with potential issues or anomalies. Normally, processes shouldn't restart unless restart was inited by user. The reason of restarts should be figured out by checking the logs of each specific service. " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "stepAfter" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 22
} ,
"id" : 62 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(changes(vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]) > 0) by(job)" ,
"format" : "time_series" ,
"instant" : false ,
"legendFormat" : "{{job}}" ,
"refId" : "A"
}
] ,
"title" : "Restarts ($job)" ,
"type" : "timeseries"
} ,
2023-09-10 15:04:07 +02:00
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 30
2023-09-10 15:04:07 +02:00
} ,
"id" : 28 ,
2024-09-23 16:54:42 +02:00
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02: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 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 11
2024-09-23 16:54:42 +02:00
} ,
"id" : 38 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2023-09-10 15:04:07 +02:00
}
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02: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 15:04:07 +02:00
] ,
2024-09-23 16:54:42 +02:00
"title" : "RSS memory % usage ($instance)" ,
"type" : "timeseries"
2023-09-10 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 11
2024-09-23 16:54:42 +02:00
} ,
"id" : 40 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2023-09-10 15:04:07 +02:00
}
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02: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 15:04:07 +02:00
] ,
2024-09-23 16:54:42 +02:00
"title" : "Memory usage ($instance)" ,
"type" : "timeseries"
2023-09-10 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02: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 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 19
2024-09-23 16:54:42 +02:00
} ,
"id" : 42 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"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 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 19
2024-09-23 16:54:42 +02:00
} ,
"id" : 44 ,
"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" : "prometheus" ,
"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"
}
] ,
"title" : "CPU % usage ($instance)" ,
"type" : "timeseries"
2023-09-10 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02: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 ,
"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" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02: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 ,
2024-10-30 16:44:08 +01:00
"y" : 27
2024-09-23 16:54:42 +02:00
} ,
"id" : 46 ,
"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" : "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 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02:00
"description" : "" ,
"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"
}
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [
2023-09-10 15:04:07 +02:00
{
2024-09-23 16:54:42 +02:00
"matcher" : {
"id" : "byName" ,
"options" : "Limit"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#F2495C" ,
"mode" : "fixed"
}
}
]
2023-06-21 00:18:52 +02:00
}
]
} ,
2024-09-23 16:54:42 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 27
2024-09-23 16:54:42 +02:00
} ,
"id" : 48 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"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 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02:00
"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"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 35
2024-09-23 16:54:42 +02:00
} ,
"id" : 50 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2023-06-21 00:18:52 +02:00
}
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02: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-21 00:18:52 +02:00
] ,
2024-09-23 16:54:42 +02:00
"title" : "Goroutines ($instance)" ,
"type" : "timeseries"
2023-06-21 00:18:52 +02:00
} ,
{
"datasource" : {
2023-09-10 15:04:07 +02:00
"type" : "prometheus" ,
2023-06-21 00:18:52 +02:00
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02: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 ,
"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-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"unit" : "bytes"
} ,
"overrides" : [
2023-06-21 00:18:52 +02:00
{
2024-09-23 16:54:42 +02:00
"matcher" : {
"id" : "byName" ,
"options" : "read"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
2023-06-21 00:18:52 +02:00
}
]
} ,
2024-09-23 16:54:42 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 35
2024-09-23 16:54:42 +02:00
} ,
"id" : 52 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-09-10 15:04:07 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"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-21 00:18:52 +02:00
] ,
2024-09-23 16:54:42 +02:00
"title" : "Disk writes/reads ($instance)" ,
"type" : "timeseries"
2023-06-21 00:18:52 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02:00
"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"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 43
2024-09-23 16:54:42 +02:00
} ,
"id" : 54 ,
"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" : "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 15:04:07 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02: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 ,
"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-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "read calls"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 43
2024-09-23 16:54:42 +02:00
} ,
"id" : 56 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"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-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02: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-21 00:18:52 +02:00
}
2024-09-23 16:54:42 +02:00
] ,
"title" : "Disk write/read calls ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"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" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 51
2024-09-23 16:54:42 +02:00
} ,
"id" : 58 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"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-21 00:18:52 +02:00
] ,
2024-09-23 16:54:42 +02:00
"title" : "TCP connections rate ($instance)" ,
"type" : "timeseries"
2023-06-21 00:18:52 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02:00
"description" : "" ,
"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" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-10-30 16:44:08 +01:00
"y" : 51
2024-09-23 16:54:42 +02:00
} ,
"id" : 60 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2023-06-21 00:18:52 +02:00
}
} ,
2024-09-23 16:54:42 +02:00
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2023-06-21 00:18:52 +02:00
} ,
2024-09-23 16:54:42 +02: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-21 00:18:52 +02:00
] ,
2024-09-23 16:54:42 +02:00
"title" : "TCP connections ($instance)" ,
"type" : "timeseries"
2023-06-21 00:18:52 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-09-23 16:54:42 +02: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 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-10-30 16:44:08 +01:00
"color" : "green"
2024-09-23 16:54:42 +02:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-10-30 16:44:08 +01:00
"y" : 59
2024-09-23 16:54:42 +02:00
} ,
"id" : 61 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(histogram_quantile(0.99, sum(rate(go_sched_latencies_seconds_bucket{job=~\"$job\"}[$__rate_interval])) by (job, instance, le))) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Go scheduling latency" ,
"type" : "timeseries"
2023-06-21 00:18:52 +02:00
}
] ,
2024-09-23 16:54:42 +02:00
"title" : "Resource usage" ,
"type" : "row"
2023-06-21 00:18:52 +02:00
}
] ,
2024-02-02 15:41:08 +01:00
"refresh" : "" ,
"schemaVersion" : 39 ,
2023-06-21 00:18:52 +02:00
"tags" : [ ] ,
"templating" : {
2023-09-10 15:04:07 +02:00
"list" : [
{
"current" : {
2024-04-29 12:10:24 +02:00
"selected" : false ,
2024-02-02 15:41:08 +01:00
"text" : "VictoriaMetrics" ,
"value" : "P4169E866C3094E38"
2023-09-10 15:04:07 +02:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
2024-02-02 15:41:08 +01:00
"current" : { } ,
2023-09-10 15:04:07 +02:00
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"definition" : "label_values(vm_app_version{version=~\"victoria-logs-.*\"}, job)" ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{version=~\"victoria-logs-.*\"}, job)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
2024-02-02 15:41:08 +01:00
"current" : { } ,
2023-09-10 15:04:07 +02:00
"datasource" : {
"type" : "prometheus" ,
2024-02-02 15:41:08 +01:00
"uid" : "$ds"
2023-09-10 15:04:07 +02:00
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
2024-11-07 14:22:53 +01:00
"includeAll" : true ,
"multi" : true ,
2023-09-10 15:04:07 +02:00
"name" : "instance" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
2023-09-15 15:12:23 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2023-09-10 15:04:07 +02:00
"filters" : [ ] ,
"hide" : 0 ,
"name" : "adhoc" ,
"skipUrlSync" : false ,
"type" : "adhoc"
}
]
2023-06-21 00:18:52 +02:00
} ,
"time" : {
"from" : "now-30m" ,
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
"title" : "VictoriaLogs" ,
"uid" : "OqPIZTX4z" ,
2024-02-02 15:41:08 +01:00
"version" : 1 ,
2023-06-21 00:18:52 +02:00
"weekStart" : ""
2024-11-07 14:22:53 +01:00
}