2022-09-06 14:19:43 +00:00
{
"__inputs" : [ ] ,
"__elements" : { } ,
2022-09-16 19:24:32 +00:00
"__requires" : [
{
2022-09-06 14:19:43 +00:00
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-04-29 10:10:24 +00:00
"version" : "10.4.2"
2022-09-06 14:19:43 +00:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "table" ,
"name" : "Table" ,
"version" : ""
2022-11-24 02:03:25 +00:00
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
2022-09-06 14:19:43 +00:00
}
] ,
"annotations" : {
2022-09-16 19:24:32 +00:00
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
2022-09-06 14:19:43 +00:00
"type" : "dashboard"
2022-11-24 02:03:25 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-11-24 02:03:25 +00:00
} ,
"enable" : true ,
2023-11-14 08:38:15 +00:00
"expr" : "sum(ALERTS{job=~\"$job\", instance=~\"$instance\", alertgroup=\"vmcluster\",alertstate=\"firing\",show_at=\"dashboard\"}) by(alertname)" ,
2022-11-24 02:03:25 +00:00
"iconColor" : "red" ,
"name" : "alerts" ,
"titleFormat" : "{{alertname}}"
2022-12-12 15:32:26 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"enable" : true ,
2024-05-22 14:32:51 +00:00
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(version) unless (sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"} offset $__interval) by(version))" ,
2022-12-12 15:32:26 +00:00
"hide" : true ,
"iconColor" : "dark-blue" ,
"name" : "version change" ,
2023-11-16 08:26:47 +00:00
"textFormat" : "{{version}}" ,
2022-12-12 15:32:26 +00:00
"titleFormat" : "Version change"
2023-03-10 16:13:19 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"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-03-10 16:13:19 +00:00
"iconColor" : "dark-yellow" ,
"name" : "restarts" ,
"textFormat" : "{{job}} restarted"
2022-09-16 19:24:32 +00:00
}
]
2022-09-06 14:19:43 +00:00
} ,
2023-01-11 10:30:12 +00:00
"description" : "Overview for cluster VictoriaMetrics v1.86.0 or higher" ,
2022-09-06 14:19:43 +00:00
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 1 ,
"id" : null ,
2022-09-16 19:24:32 +00:00
"links" : [
{
2022-09-06 14:19:43 +00:00
"icon" : "doc" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Cluster Wiki" ,
"type" : "link" ,
2024-03-04 14:43:31 +00:00
"url" : "https://docs.victoriametrics.com/cluster-victoriametrics"
2022-09-06 14:19:43 +00:00
} ,
{
"icon" : "external link" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Found a bug?" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/issues"
} ,
{
"icon" : "external link" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "New releases" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
"liveNow" : false ,
2022-09-16 19:24:32 +00:00
"panels" : [
{
2022-11-24 02:03:25 +00:00
"collapsed" : false ,
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 137 ,
2022-11-24 02:03:25 +00:00
"panels" : [ ] ,
"title" : "Stats" ,
"type" : "row"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-11-24 02:03:25 +00:00
"uid" : "$ds"
} ,
2024-03-05 14:00:49 +00:00
"description" : "How many [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) are in storage" ,
2022-11-24 02:03:25 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 131 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2022-09-06 14:19:43 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-24 02:03:25 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
2022-12-05 23:59:52 +00:00
"expr" : "sum(vm_rows{job=~\"$job_storage\", type!~\"indexdb.*\"})" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Total datapoints" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the datapoints ingestion rate, including replication factor." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 6 ,
"y" : 1
} ,
"id" : 124 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2022-09-06 14:19:43 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-24 02:03:25 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(vm_vminsert_metrics_read_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) " ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"range" : false ,
"refId" : "A"
}
] ,
"title" : "Ingestion rate" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the rate of HTTP read requests." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 10:10:24 +00:00
"unit" : "req/s"
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 12 ,
"y" : 1
} ,
"id" : 130 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2022-09-06 14:19:43 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-24 02:03:25 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-25 08:28:14 +00:00
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\", path=~\"/select/.*\"}[$__rate_interval]))" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Read requests" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Total number of available CPUs for all VM components. " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
2022-09-16 19:24:32 +00:00
{
2022-11-24 02:03:25 +00:00
"color" : "green" ,
"value" : null
2022-09-06 14:19:43 +00:00
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 18 ,
"y" : 1
} ,
"id" : 126 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-24 02:03:25 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Available CPU" ,
"type" : "stat"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "Shows the number of [active time series](https://docs.victoriametrics.com/faq/#what-is-an-active-time-series) with new data points inserted during the last hour. High value may result in ingestion slowdown." ,
2022-11-24 02:03:25 +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"
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
} ,
2022-09-06 14:19:43 +00:00
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 3 ,
"w" : 6 ,
2022-09-06 14:19:43 +00:00
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 4
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 34 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-24 02:03:25 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-25 08:28:14 +00:00
"expr" : "sum(max_over_time(vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}[1h]))" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"title" : "Active series" ,
"type" : "stat"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Total amount of used disk space" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 3 ,
"w" : 6 ,
"x" : 6 ,
"y" : 4
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 35 ,
"maxDataPoints" : 100 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"exemplar" : false ,
"expr" : "sum(vm_data_size_bytes{job=~\"$job_storage\"})" ,
"format" : "time_series" ,
"instant" : true ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "" ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Disk space usage" ,
"type" : "stat"
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-11-24 02:03:25 +00:00
"uid" : "$ds"
} ,
"description" : "Average disk usage per datapoint." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"decimals" : 2 ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 12 ,
"y" : 4
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 112 ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2022-09-06 14:19:43 +00:00
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-11-24 02:03:25 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : true ,
2023-08-03 14:22:50 +00:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job_storage\"}) / sum(vm_rows{job=~\"$job_storage\", type!~\"indexdb.*\"})" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Bytes per point" ,
"type" : "stat"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Total size of available memory for all VM components." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "bytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 3 ,
"w" : 6 ,
"x" : 18 ,
"y" : 4
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 128 ,
"maxDataPoints" : 100 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-02 14:41:08 +00:00
"showPercentChange" : false ,
2022-11-24 02:03:25 +00:00
"text" : { } ,
2024-02-02 14:41:08 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"instant" : true ,
"interval" : "" ,
2022-09-16 19:24:32 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "" ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Available memory" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
2024-02-02 14:41:08 +00:00
"cellOptions" : {
"type" : "auto"
} ,
2022-11-24 02:03:25 +00:00
"inspect" : false ,
"minWidth" : 50
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-04-29 10:10:24 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Count"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"gridPos" : {
"h" : 5 ,
"w" : 8 ,
"x" : 0 ,
"y" : 7
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 149 ,
"options" : {
2024-02-02 14:41:08 +00:00
"cellHeight" : "sm" ,
2022-11-24 02:03:25 +00:00
"footer" : {
2024-02-02 14:41:08 +00:00
"countRows" : false ,
2022-11-24 02:03:25 +00:00
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"showHeader" : true ,
"sortBy" : [
{
"desc" : true ,
"displayName" : "Count"
}
]
} ,
2024-04-29 10:10:24 +00:00
"pluginVersion" : "10.4.2" ,
2022-11-24 02:03:25 +00:00
"targets" : [
2022-09-06 14:19:43 +00:00
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(vm_app_version{job=~\"$job\", instance=~\"$instance\"}) by(job, short_version)" ,
"format" : "table" ,
"instant" : true ,
"range" : false ,
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"type" : "table"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "stepAfter" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "none"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 5 ,
"w" : 16 ,
"x" : 8 ,
"y" : 7
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 62 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(min_over_time(up{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (job)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"instant" : false ,
"legendFormat" : "{{job}}" ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Uptime ($job)" ,
"type" : "timeseries"
} ,
{
"collapsed" : false ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-11-24 02:03:25 +00:00
"uid" : "$ds"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 12
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 10 ,
"panels" : [ ] ,
"title" : "Overview" ,
"type" : "row"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-05 14:00:49 +00:00
"description" : "How many [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) are inserted into cluster per second by protocol before the replication. Check vminsert metrics if there are any issues with ingestion." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineStyle" : {
"fill" : "solid"
} ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"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"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
"y" : 13
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 2 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (type) > 0 " ,
"interval" : "" ,
"legendFormat" : "{{type}}" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Datapoints ingestion rate ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +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"
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 13
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 6 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
2022-09-06 14:19:43 +00:00
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
dashboards: remove `path!="/favicon.ico"` filter from `requests rate` graphs
The `path!="/favicon.ico"` filter has little sense, since there are many other special paths,
which may be filtered out - /metrics, /flags, /health, /ping, /robots.txt, /-/healthy, /-/ready, /reload, etc.
See /lib/httpserver/httpserver.go for more details.
It will be hard or impossible to maintain filters for all these paths, so it is better to drop this filter
in order to simplify queries and improve the consistency of these queries.
2023-11-16 18:26:03 +00:00
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (path) > 0" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"range" : true ,
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Requests rate ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "Shows the number of [active time series](https://docs.victoriametrics.com/faq/#what-is-an-active-time-series) with new data points inserted during the last hour across all storage nodes. High value may result in ingestion slowdown and high memory usage." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +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" : [
{
2022-11-28 13:13:00 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 21
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 12 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-25 08:28:14 +00:00
"expr" : "sum(vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "Active time series" ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Active time series ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "The less time it takes is better.\n* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +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" : [
{
2022-11-28 13:13:00 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 10:10:24 +00:00
"unit" : "s"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-11-24 02:03:25 +00:00
"y" : 21
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 8 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"expr" : "max(vm_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=\"0.99\"}) by (path) > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{path}}" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Query duration 0.99 quantile ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +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" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 11:55:19 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 29
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 52 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-11-25 08:28:14 +00:00
"expr" : "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (job, path) > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{path}} ({{job}})" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Requests error rate ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Shows the rate of logging the messages by their level. Unexpected spike in rate is a good reason to check logs." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 14:41:08 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 14:41:08 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2023-06-12 13:58:47 +00:00
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
"url" : "/d/oS7Bi_0Wz?viewPanel=203&var-job=${__field.labels.job}&var-ds=$ds&var-instance=$instance&${__url_time_range}"
}
] ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-29 11:55:19 +00:00
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2022-11-24 02:03:25 +00:00
"y" : 29
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 104 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-25 08:28:14 +00:00
"expr" : "sum(rate(vm_log_messages_total{job=~\"$job\",instance=~\"$instance\", level!=\"info\"}[$__rate_interval])) by (job, level) > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"hide" : false ,
"interval" : "5m" ,
2022-09-16 19:24:32 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{job}} - {{level}}" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Logging rate" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"collapsed" : true ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 37
2022-09-06 14:19:43 +00:00
} ,
"id" : 46 ,
2022-09-16 19:24:32 +00:00
"panels" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2023-11-14 08:50:06 +00:00
"description" : "Percentage of used RSS memory (resident).\nThe RSS memory shows the amount of memory recently accessed by the application. It includes anonymous memory and data from recently accessed files (aka page cache).\nThe application's performance will significantly degrade when memory usage is close to 100%.\n\nClick on the line and choose Drilldown to show memory usage per instance" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=189&var-job=${__field.labels.job}&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "percentunit" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 3
2022-09-06 14:19:43 +00:00
} ,
"id" : 66 ,
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-06 14:19:43 +00:00
}
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"}\n) by(job)" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "RSS memory % usage ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2023-11-14 08:50:06 +00:00
"description" : "Share for memory allocated by the process itself. When memory usage reaches 100% it will be likely OOM-killed.\nSafe memory usage % considered to be below 80%\n\nClick on the line and choose Drilldown to show memory usage per instance" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=190&var-job=${__field.labels.job}&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "percentunit" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 3
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 138 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"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(job)" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "RSS anonymous memory % usage ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=192&var-job=${__field.labels.job}&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "percentunit" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 11
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 64 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"}\n) by(job)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "CPU ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Shows the number of bytes read/write from the storage layer." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "Bps" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read .*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 11
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 122 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-06 14:19:43 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "sum(rate(process_io_storage_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"hide" : false ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "read {{job}}" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_storage_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"hide" : false ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "write {{job}}" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Disk writes/reads ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +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" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "percentunit" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/max.*/"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 19
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 117 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-06 14:19:43 +00:00
}
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n max_over_time(process_open_fds{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_max_fds{job=~\"$job\", instance=~\"$instance\"}\n) by(job)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{job}}" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Open FDs usage % ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2023-06-12 13:58:47 +00:00
"description" : "Shows the number of read/write syscalls such as read, pread, write, pwrite." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2023-06-12 13:58:47 +00:00
"links" : [ ] ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "short" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
2023-06-12 13:58:47 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read .*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 19
2022-09-06 14:19:43 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 204 ,
"links" : [ ] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
2023-06-12 13:58:47 +00:00
"expr" : "sum(rate(process_io_read_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
"format" : "time_series" ,
"hide" : false ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2023-06-12 13:58:47 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "read {{job}}" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "A"
2023-06-12 13:58:47 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(process_io_write_syscalls_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job) > 0" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "write {{job}}" ,
"range" : true ,
"refId" : "B"
2022-09-06 14:19:43 +00:00
}
] ,
2023-06-12 13:58:47 +00:00
"title" : "Disk write/read calls ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "short" ,
"unitScale" : true
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 27
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 68 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "sum(max_over_time(go_goroutines{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Goroutines ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "short" ,
"unitScale" : true
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
} ,
2022-09-06 14:19:43 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 27
2022-09-06 14:19:43 +00:00
} ,
2023-06-12 13:58:47 +00:00
"id" : 119 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2023-06-12 13:58:47 +00:00
"expr" : "sum(max_over_time(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(job)" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2023-06-12 13:58:47 +00:00
"legendFormat" : "{{job}}" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2023-06-12 13:58:47 +00:00
"title" : "TCP connections ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00: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:21:21 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "short" ,
"unitScale" : true
2022-11-24 02:03:25 +00:00
} ,
"overrides" : [ ]
} ,
2022-09-06 14:19:43 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 35
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 70 ,
"links" : [ ] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "sum(max_over_time(process_num_threads{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
"format" : "time_series" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Threads ($instance)" ,
"type" : "timeseries"
2023-06-12 13:58:47 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-02-02 15:21:21 +00:00
"axisBorderShow" : false ,
2023-06-12 13:58:47 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-02-02 15:21:21 +00:00
"insertNulls" : false ,
2023-06-12 13:58:47 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2023-06-12 13:58:47 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-02 15:21:21 +00:00
"unit" : "short" ,
"unitScale" : true
2023-06-12 13:58:47 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 35
2023-06-12 13:58:47 +00:00
} ,
"id" : 120 ,
"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" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job)" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "TCP connections rate ($instance)" ,
"type" : "timeseries"
2024-02-02 15:21:21 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the percent of CPU spent on garbage collection.\n\nIf % is high, then CPU usage can be decreased by changing GOGC to higher values. Increasing GOGC value will increase memory usage, and decrease CPU usage.\n\nTry searching for keyword `GOGC` at https://docs.victoriametrics.com/troubleshooting/ " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:10:24 +00:00
"color" : "green"
2024-02-02 15:21:21 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit" ,
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 43
} ,
"id" : 210 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.2.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(\n rate(go_gc_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]) \n / rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n ) by(job)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CPU spent on GC ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
}
] ,
"title" : "Resource usage ($job)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 38
2022-09-06 14:19:43 +00:00
} ,
"id" : 106 ,
2022-09-16 19:24:32 +00:00
"panels" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "" ,
"gridPos" : {
"h" : 2 ,
"w" : 24 ,
"x" : 0 ,
"y" : 4
} ,
"id" : 211 ,
"links" : [ ] ,
"options" : {
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
"content" : "See [Troubleshooting](https://docs.victoriametrics.com/troubleshooting/) docs." ,
"mode" : "markdown"
} ,
"pluginVersion" : "10.3.1" ,
"transparent" : true ,
"type" : "text"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-18 00:54:20 +00:00
"description" : "Shows the rate and total number of new series created over last 24h.\n\nHigh [churn rate](https://docs.victoriametrics.com/faq/#what-is-high-churn-rate) tightly connected with database performance and may result in unexpected OOM's or slow queries. It is recommended to always keep an eye on this metric to avoid unexpected [cardinality](https://docs.victoriametrics.com/keyconcepts/#cardinality) \"explosions\".\n\nThe higher churn rate is, the more resources required to handle it. Consider to keep the churn rate as low as possible.\n\nTo investigate stats about most expensive series use `api/v1/status/tsdb` handler. More details here https://docs.victoriametrics.com/cluster-victoriametrics/#url-format\n\nGood references to read:\n* https://www.robustperception.io/cardinality-is-key\n* https://valyala.medium.com/high-cardinality-tsdb-benchmarks-victoriametrics-vs-timescaledb-vs-influxdb-13e6ee64dd6b" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "new series over 24h"
} ,
"properties" : [
{
"id" : "custom.axisPlacement" ,
"value" : "right"
} ,
{
"id" : "custom.axisSoftMin" ,
"value" : 0
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 23
2022-09-06 14:19:43 +00:00
} ,
"id" : 102 ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : true ,
"expr" : "sum(rate(vm_new_timeseries_created_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval]))" ,
"interval" : "" ,
"legendFormat" : "churn rate" ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
"expr" : "sum(increase(vm_new_timeseries_created_total{job=~\"$job_storage\", instance=~\"$instance\"}[24h]))" ,
"hide" : false ,
"interval" : "" ,
"legendFormat" : "new series over 24h" ,
"refId" : "B"
}
] ,
"title" : "Churn rate ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "The percentage of slow inserts comparing to total insertion rate during the last 5 minutes. \n\nThe less value is better. If percentage remains high (>10%) during extended periods of time, then it is likely more RAM is needed for optimal handling of the current number of [active time series](https://docs.victoriametrics.com/faq/#what-is-an-active-time-series). \n\nIn general, VictoriaMetrics requires ~1KB or RAM per active time series, so it should be easy calculating the required amounts of RAM for the current workload according to capacity planning docs. But the resulting number may be far from the real number because the required amounts of memory depends on many other factors such as the number of labels per time series and the length of label values. See also [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3976#issuecomment-1476883183) for details." ,
2022-11-24 02:03:25 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line+area"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "transparent"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.1
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 23
2022-11-24 02:03:25 +00:00
} ,
"id" : 108 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(\n rate(vm_slow_row_inserts_total{job=~\"$job_storage\"}[$__rate_interval]) \n / rate(vm_rows_added_to_storage_total{job=~\"$job_storage\"}[$__rate_interval])\n)" ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "slow inserts" ,
"range" : true ,
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Slow inserts" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "The value is above 0 when the vmstorage at the given `addr` communicates to the given vminsert node that it cannot accept new data because it is in the read-only mode." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 31
2022-11-24 02:03:25 +00:00
} ,
"id" : 142 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Readonly mode" ,
2024-04-18 00:54:20 +00:00
"url" : "https://docs.victoriametrics.com/cluster-victoriametrics/#readonly-mode"
2022-11-24 02:03:25 +00:00
}
] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "sum(vm_rpc_vmstorage_is_read_only{job=~\"$job_insert\", instance=~\"$instance\"}) by(instance, addr) > 0" ,
"format" : "time_series" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}} => {{addr}}" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Storage in readonly status for vminsert ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-01-04 09:37:13 +00:00
"description" : "Shows % of slow queries according to `search.logSlowQueryDuration` flag, which is `5s` by default.\n\nThe less value is better." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
2024-01-04 09:37:13 +00:00
"axisSoftMin" : 0 ,
2022-11-24 02:03:25 +00:00
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-01-04 09:37:13 +00:00
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 31
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 107 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-01-04 09:37:13 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_slow_queries_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval]))\n/\nsum(rate(vm_http_requests_total{job=~\"$job_select\", instance=~\"$instance\", path=~\"/select/.*\"}[$__rate_interval]))" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2024-01-04 09:37:13 +00:00
"legendFormat" : "slow queries %" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Slow queries % ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Merge assist happens when vmstorage can't keep up with merging parts. This is usually a sign of overload for vmstorage." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 39
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 170 ,
"links" : [ ] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(increase(vm_assisted_merges_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) by(type) > 0" ,
"format" : "time_series" ,
"interval" : "5m" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Assisted merges ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-01-29 06:37:51 +00:00
"description" : "VictoriaMetrics limits the number of labels per each metric with `-maxLabelsPerTimeseries` command-line flag.\n\nThis prevents from ingesting metrics with too many labels. The value of `maxLabelsPerTimeseries` must be adjusted for your workload.\n\nWhen limit is exceeded (graph is > 0) - extra labels are dropped, which could result in unexpected identical time series. See more details about dropped labels in vminsert logs." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 39
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 116 ,
"links" : [ ] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "sum(increase(vm_metrics_with_dropped_labels_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval]))" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"hide" : false ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "metrics with dropped labels" ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Labels limit exceeded ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Shows the percentage of used cache size from the allowed size by type. \nValues close to 100% show the maximum potential utilization.\nValues close to 0% show that cache is underutilized." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 9 ,
2022-09-06 14:19:43 +00:00
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 47
2022-11-24 02:03:25 +00:00
} ,
"id" : 144 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2023-07-18 09:40:40 +00:00
"expr" : "max(\n vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"} \n /\n vm_cache_size_max_bytes{job=~\"$job\", instance=~\"$instance\"}\n) by(type)" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Cache usage % by type ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Shows cache miss ratio. Lower is better." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"max" : 1 ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 9 ,
2022-09-06 14:19:43 +00:00
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 47
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 58 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n rate(vm_cache_misses_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n /\n rate(vm_cache_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])\n) by(type)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"hide" : false ,
"interval" : "" ,
2022-09-16 19:24:32 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Cache miss ratio ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-11-24 02:03:25 +00:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
2024-02-02 14:41:08 +00:00
"cellOptions" : {
"type" : "auto"
} ,
2022-11-24 02:03:25 +00:00
"inspect" : false
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Value"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "custom.hidden" ,
"value" : true
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
2024-01-04 09:37:13 +00:00
"h" : 6 ,
2022-11-24 02:03:25 +00:00
"w" : 24 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 56
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 183 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"footer" : {
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
} ,
"showHeader" : true ,
"sortBy" : [
{
"desc" : true ,
"displayName" : "job"
}
]
} ,
2024-01-04 09:37:13 +00:00
"pluginVersion" : "9.2.7" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-09-16 19:24:32 +00:00
} ,
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"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 ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Non-default flags" ,
"transformations" : [
2022-09-06 14:19:43 +00:00
{
2022-11-24 02:03:25 +00:00
"id" : "groupBy" ,
"options" : {
"fields" : {
"instance" : {
"aggregations" : [
"uniqueValues"
] ,
"operation" : "aggregate"
} ,
"job" : {
"aggregations" : [ ] ,
"operation" : "groupby"
} ,
"name" : {
"aggregations" : [ ] ,
"operation" : "groupby"
} ,
"value" : {
"aggregations" : [ ] ,
"operation" : "groupby"
}
}
}
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"type" : "table"
2024-01-04 09:37:13 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2024-01-04 09:37:13 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 62
2024-01-04 09:37:13 +00:00
} ,
"id" : 135 ,
"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" : true ,
"expr" : "sum(increase(vm_rows_ignored_total{job=~\"$job_storage\", instance=~\"$instance\"}[1h])) by (reason)" ,
"interval" : "" ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Rows ignored for last 1h ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
}
] ,
"title" : "Troubleshooting" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 39
2022-09-06 14:19:43 +00:00
} ,
"id" : 48 ,
2022-09-16 19:24:32 +00:00
"panels" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "Shows number of pushed and sent rows. \n* `Pushed rows` - rows added to internal inserter buffers before send\n* `Sent rows` - successfully transmitted rows to storage nodes\n\nPlease note, it could be that `Sent > Pushed` because of the replication factor." ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 37
2022-09-06 14:19:43 +00:00
} ,
"id" : 76 ,
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_rpc_rows_pushed_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Pushed" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_rpc_rows_sent_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Sent" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "E"
}
] ,
"title" : "Rows ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "Rate of RPC errors by type:\n* `Connection` - the number of connection errors to vmstorage node\n* `Dial` - the number of dial errors to vmstorage node.\n* `Handshake` - the number of handshake errors to vmstorage node\n* `Rerouted` - errors appeared during rerouting of rows from un-healthy storage node to a healthy one." ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 37
2022-09-06 14:19:43 +00:00
} ,
"id" : 86 ,
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-06 14:19:43 +00:00
"expr" : "sum(rate(vm_rpc_connection_errors_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Connection" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(rate(vm_rpc_dial_errors_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Dial" ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(rate(vm_rpc_handshake_errors_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Handshake" ,
"refId" : "E"
}
] ,
"title" : "RPC errors ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "The number of rows rerouted to the vmstorage node from other nodes when they were unhealthy." ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "rps"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 46
2022-09-06 14:19:43 +00:00
} ,
"id" : 80 ,
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
"expr" : "sum(rate(vm_rpc_rows_rerouted_to_here_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(addr) > 0" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Rows ($instance) rerouted to " ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "The number of rows rerouted from the vmstorage node to healthy nodes when the given node was unhealthy." ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "rps"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 46
2022-09-06 14:19:43 +00:00
} ,
"id" : 78 ,
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"exemplar" : true ,
"expr" : "sum(rate(vm_rpc_rows_rerouted_from_here_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(addr) > 0" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{addr}}" ,
"refId" : "A"
}
] ,
2022-09-06 14:19:43 +00:00
"title" : "Rows ($instance) rerouted from" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "The number of rows or bytes that vminesrt internal buffer contains at the moment." ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "bytes"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "bytes"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 54
2022-09-06 14:19:43 +00:00
} ,
"id" : 82 ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(vm_rpc_buf_pending_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"legendFormat" : "bytes" ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"expr" : "sum(vm_rpc_rows_pending{job=~\"$job\", instance=~\"$instance\"})" ,
"legendFormat" : "rows" ,
"refId" : "B"
}
] ,
"title" : "Pending" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"description" : "Network usage by internal VictoriaMetrics RPC protocol" ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bps"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 54
2022-09-06 14:19:43 +00:00
} ,
"id" : 74 ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"expr" : "sum(rate(vm_tcpdialer_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) * 8" ,
"legendFormat" : "network usage" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-09-06 14:19:43 +00:00
"title" : "RPC network usage ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
}
] ,
"title" : "Interconnection ($job)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-24 02:03:25 +00:00
"y" : 40
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 24 ,
2022-09-16 19:24:32 +00:00
"panels" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Shows the number of datapoints ingested into storage nodes per second. This metric doesn't show all stored datapoints since some of them may be dropped because of wrong timestamps or decode errors." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
2022-11-24 02:03:25 +00:00
"w" : 12 ,
2022-09-06 14:19:43 +00:00
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 6
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 100 ,
"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" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_vminsert_metrics_read_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) " ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "ingestion rate" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Ingestion rate ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-02-08 08:51:43 +00:00
"description" : "Shows the approx time needed to reach 100% of disk capacity for at least one vmstorage node based on the following params:\n* free disk space;\n* row ingestion rate;\n* compression.\n\nNote: this panel doesn't account for deduplication process." ,
2022-11-24 02:03:25 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-12-01 12:21:14 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=196&${__url_time_range}&${__all_variables}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 11:55:19 +00:00
"y" : 6
2022-11-24 02:03:25 +00:00
} ,
"id" : 113 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"min"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
2022-09-16 19:24:32 +00:00
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-02-08 08:43:39 +00:00
"expr" : "min(vm_free_disk_space_bytes{job=~\"$job_storage\", instance=~\"$instance\"} \n/ \nignoring(path) (\n rate(vm_rows_added_to_storage_total{job=~\"$job_storage\", instance=~\"$instance\"}[1d])\n * scalar(\n sum(vm_data_size_bytes{job=~\"$job_storage\", instance=~\"$instance\", type!~\"indexdb.*\"})\n / \n sum(vm_rows{job=~\"$job_storage\", instance=~\"$instance\", type!~\"indexdb.*\"})\n )\n))" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "min ETA" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Storage full ETA ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=192&var-job=$job_storage&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.9
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 14
2022-11-24 02:03:25 +00:00
} ,
"id" : 151 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_storage\", instance=~\"$instance\"}\n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "max" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "min(\n rate(process_cpu_seconds_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_storage\", instance=~\"$instance\"}\n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"hide" : false ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "min" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n rate(process_cpu_seconds_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_storage\", instance=~\"$instance\"}\n)" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "C"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "CPU usage % ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +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" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=189&var-job=$job_storage&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.9
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
2022-09-06 14:19:43 +00:00
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 11:55:19 +00:00
"y" : 14
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 167 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_storage\", instance=~\"$instance\"}\n)" ,
"format" : "time_series" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "max" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
"refId" : "A"
2022-11-24 02:03:25 +00:00
} ,
2022-09-16 19:24:32 +00:00
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "min(\n max_over_time(process_resident_memory_bytes{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_storage\", instance=~\"$instance\"}\n)" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "min" ,
"range" : true ,
"refId" : "B"
2022-09-06 14:19:43 +00:00
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n max_over_time(process_resident_memory_bytes{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_storage\", instance=~\"$instance\"}\n)" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "C"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Memory usage % ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-04-29 11:55:19 +00:00
"description" : "Shows how many ongoing insertions (not API /write calls) on disk are taking place, where:\n* `max` - equal to number of CPUs;\n* `current` - current number of goroutines busy with inserting rows into underlying storage.\n\nEvery successful API /write call results into flush on disk. The `max` is an internal limit and can't be changed. It is always equal to the number of CPUs. \n\nWhen `current` hits `max` constantly, it means storage is overloaded and requires more CPU (see CPU usage) or disks with more IOPS (see disk writes and reads panels in Resource Usage row)." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 11:55:19 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
2022-11-24 02:03:25 +00:00
"w" : 12 ,
2022-09-06 14:19:43 +00:00
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 21
2022-09-06 14:19:43 +00:00
} ,
2024-04-29 11:55:19 +00:00
"id" : 212 ,
2022-11-24 02:03:25 +00:00
"links" : [
{
"targetBlank" : true ,
2024-04-29 11:55:19 +00:00
"title" : "Related discussion" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/issues/632"
2022-11-24 02:03:25 +00:00
}
] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
2024-04-29 11:55:19 +00:00
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
2022-11-24 02:03:25 +00:00
"placement" : "bottom" ,
2024-04-29 11:55:19 +00:00
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-11-24 02:03:25 +00:00
} ,
"tooltip" : {
"mode" : "multi" ,
2024-04-29 11:55:19 +00:00
"sort" : "none"
2022-11-24 02:03:25 +00:00
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2024-04-29 11:55:19 +00:00
"expr" : "max(\n max_over_time(vm_concurrent_insert_current{job=~\"$job_storage\", \n instance=~\"$instance\"}[$__rate_interval])\n)" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2024-04-29 11:55:19 +00:00
"legendFormat" : "current" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2024-04-29 11:55:19 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "min(vm_concurrent_insert_capacity{job=~\"$job_storage\", instance=~\"$instance\"})" ,
"hide" : false ,
"interval" : "" ,
"legendFormat" : "max" ,
"range" : true ,
"refId" : "B"
2022-09-16 19:24:32 +00:00
}
] ,
2024-04-29 11:55:19 +00:00
"title" : "Concurrent flushes on disk ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
} ,
2022-09-16 19:24:32 +00:00
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-04-29 11:55:19 +00:00
"description" : "Shows the number of concurrently executed read requests, where:\n* `max` - equal to `-search.maxConcurrentRequest` cmd-line flag;\n* `current` - current number of concurrent select requests executed by storage.\n\nEach concurrent select request requires RAM, CPU and disk IO resources during processing. Too many concurrent requests could result into OOM exceptions.\n\nWhen `current` hits `max` constantly, it means storage is overloaded and requires more CPU (see CPU usage) or disks with more IOPS (see disk writes and reads panels in Resource Usage row).\n\nSee more at https://docs.victoriametrics.com/cluster-victoriametrics/#resource-usage-limits" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-04-29 11:55:19 +00:00
"y" : 21
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 133 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
2024-04-29 11:55:19 +00:00
"expr" : "max(\n max_over_time(vm_vmselect_concurrent_requests_current{job=~\"$job_storage\", \n instance=~\"$instance\"}[$__rate_interval])\n)" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
"legendFormat" : "current" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2024-04-29 11:55:19 +00:00
"expr" : "min(vm_vmselect_concurrent_requests_capacity{job=~\"$job_storage\", instance=~\"$instance\"})" ,
2022-11-24 02:03:25 +00:00
"hide" : false ,
"interval" : "" ,
"legendFormat" : "max" ,
"range" : true ,
"refId" : "B"
2022-09-06 14:19:43 +00:00
}
] ,
2024-04-29 11:55:19 +00:00
"title" : "Concurrent selects ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-04-23 14:41:48 +00:00
"description" : "The max number of on-going merges across storage nodes.\n The drastic change in number of merges could be a sign of on-going deduplication/downsampling activity.\n It is expected to have high numbers for `storage/small` metric." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 29
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 54 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2024-04-23 14:41:48 +00:00
"expr" : "max(max_over_time(vm_active_merges{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) by(type)" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Active merges ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-05 14:00:49 +00:00
"description" : "The number of rows merged per second by storage nodes. Merge speed depends on available CPU and disk IO bandwidth." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-04-29 11:55:19 +00:00
"y" : 29
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 55 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_rows_merged_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) by(type)" ,
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Merge speed" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-12-05 07:35:33 +00:00
"description" : "Shows the percentage of used disk space. It is recommended to have at least 20% of free disk space for the best performance." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2022-12-05 07:35:33 +00:00
"fillOpacity" : 0 ,
2022-11-24 02:03:25 +00:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2022-12-05 07:35:33 +00:00
"mode" : "none"
2022-11-24 02:03:25 +00:00
} ,
"thresholdsStyle" : {
2022-12-05 07:35:33 +00:00
"mode" : "line"
2022-11-24 02:03:25 +00:00
}
} ,
2022-12-05 07:35:33 +00:00
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
"url" : "/d/oS7Bi_0Wz?viewPanel=200&var-ds=$ds&var-instance=$instance&${__url_time_range}"
}
] ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2022-12-05 07:35:33 +00:00
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 37
2022-09-06 14:19:43 +00:00
} ,
2022-12-05 07:35:33 +00:00
"id" : 20 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2022-12-05 07:35:33 +00:00
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-12-05 07:35:33 +00:00
"expr" : "max(\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance) /\n (\n sum(vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance) +\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)\n ) \n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-12-05 07:35:33 +00:00
"legendFormat" : "max" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
2022-12-05 07:35:33 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "min(\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance) /\n (\n sum(vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance) +\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)\n ) \n)" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "min" ,
"range" : true ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance) /\n (\n sum(vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance) +\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)\n ) \n)" ,
2022-12-05 07:35:33 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-12-05 07:35:33 +00:00
"range" : true ,
"refId" : "C"
2022-09-06 14:19:43 +00:00
}
] ,
2022-12-05 07:35:33 +00:00
"title" : "Disk space usage % ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "The max number of data parts of LSM tree across all storage nodes.\nHigh number of parts (the hard limit is 512) is an evidence of slow merge performance - check the resource utilization.\n* `indexdb` - inverted index\n* `storage/small` - recently added parts of data ingested into storage (hot data)\n* `storage/big` - small parts gradually merged into big parts (cold data)" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +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" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-04-29 11:55:19 +00:00
"y" : 37
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 22 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "max(vm_parts{job=~\"$job_storage\", instance=~\"$instance\"}) by(type)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-16 19:24:32 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "LSM parts max by type ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "Shows the percentage of used disk space by type: datapoints or indexdb. Normally, indexdb takes much less space comparing to datapoints. But with high [churn rate](https://docs.victoriametrics.com/faq/#what-is-high-churn-rate) the size of the indexdb could grow significantly.\n\nThe sum of the % can be > 100% since panel shows max % per-job and per-instance. It means different instance can have different ratio between datapoints and indexdb size." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2022-12-05 07:35:33 +00:00
"fillOpacity" : 0 ,
2022-11-24 02:03:25 +00:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2022-12-05 07:35:33 +00:00
"mode" : "none"
2022-11-24 02:03:25 +00:00
} ,
"thresholdsStyle" : {
2022-12-05 07:35:33 +00:00
"mode" : "line"
2022-11-24 02:03:25 +00:00
}
} ,
2022-12-05 07:35:33 +00:00
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
"url" : "/d/oS7Bi_0Wz?viewPanel=201&var-ds=$ds&var-instance=$instance&${__url_time_range}"
}
] ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
}
]
} ,
2022-12-05 07:35:33 +00:00
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 45
2022-09-06 14:19:43 +00:00
} ,
2022-12-05 07:35:33 +00:00
"id" : 202 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2022-12-05 07:35:33 +00:00
"sort" : "desc"
2022-11-24 02:03:25 +00:00
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-12-05 23:59:52 +00:00
"expr" : "max(\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type=~\"indexdb.*\"}) by(job, instance)\n / \n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)\n)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-12-05 07:35:33 +00:00
"legendFormat" : "indexdb" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2022-12-05 07:35:33 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-12-05 23:59:52 +00:00
"expr" : "max(\n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by(job, instance)\n / \n sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)\n)" ,
2022-12-05 07:35:33 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "datapoints" ,
"range" : true ,
"refId" : "B"
2022-09-16 19:24:32 +00:00
}
] ,
2022-12-05 07:35:33 +00:00
"title" : "Disk space usage % by type ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "How many datapoints are in RAM queue waiting to be written into storage. The number of pending data points should be in the range from 0 to `2*<ingestion_rate>`, since VictoriaMetrics pushes pending data to persistent storage every second. The index datapoints value in general is much lower." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +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" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "pending index entries"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "none"
} ,
{
"id" : "decimals" ,
"value" : 3
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 12 ,
2024-04-29 11:55:19 +00:00
"y" : 45
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 14 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(max_over_time(vm_pending_rows{job=~\"$job_storage\", instance=~\"$instance\", type=\"storage\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending datapoints" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(max_over_time(vm_pending_rows{job=~\"$job_storage\", instance=~\"$instance\", type=\"indexdb\"}[$__rate_interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending index entries" ,
"range" : true ,
"refId" : "B"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Pending datapoints ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-02-16 09:20:38 +00:00
"description" : "Shows network usage by vmstorage services.\n* Writes show traffic sent to clients.\n* Reads show traffic received from clients." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-29 11:55:19 +00:00
"axisBorderShow" : false ,
2022-11-24 02:03:25 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-04-29 11:55:19 +00:00
"insertNulls" : false ,
2022-11-24 02:03:25 +00:00
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2024-01-04 09:37:13 +00:00
"links" : [ ] ,
2022-11-24 02:03:25 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 11:55:19 +00:00
"color" : "green" ,
"value" : null
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-01-04 09:37:13 +00:00
"unit" : "bps"
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
2024-04-29 11:55:19 +00:00
"w" : 12 ,
2022-12-05 07:35:33 +00:00
"x" : 0 ,
2024-04-29 11:55:19 +00:00
"y" : 53
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"id" : 206 ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
2024-01-04 09:37:13 +00:00
"lastNotNull"
2022-11-24 02:03:25 +00:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"tooltip" : {
"mode" : "multi" ,
2024-01-04 09:37:13 +00:00
"sort" : "desc"
2022-09-06 14:19:43 +00:00
}
} ,
2022-11-24 02:03:25 +00:00
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2024-02-16 09:20:38 +00:00
"expr" : "sum(rate(vm_tcplistener_read_bytes_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) by(name) * 8 > 0" ,
2024-01-04 09:37:13 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "read from {{name}}" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2024-01-04 09:37:13 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-02-16 09:20:38 +00:00
"expr" : "sum(rate(vm_tcplistener_written_bytes_total{job=~\"$job_storage\", instance=~\"$instance\"}[$__rate_interval])) by(name) * 8 > 0" ,
2024-01-04 09:37:13 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "write to {{name}}" ,
2024-01-04 09:37:13 +00:00
"range" : true ,
"refId" : "B"
2022-09-16 19:24:32 +00:00
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Network usage ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2024-04-29 11:55:19 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Value > 0 means vmstorage is in readonly mode." ,
"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"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 53
} ,
"id" : 141 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Readonly mode" ,
"url" : "https://docs.victoriametrics.com/cluster-victoriametrics/#readonly-mode"
}
] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "vm_storage_is_read_only{job=~\"$job_storage\", instance=~\"$instance\"} > 0" ,
"interval" : "" ,
"legendFormat" : "{{ instance }}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Readonly mode" ,
"type" : "timeseries"
2022-11-24 02:03:25 +00:00
}
] ,
"title" : "vmstorage ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-11-24 02:03:25 +00:00
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 41
} ,
"id" : 42 ,
"panels" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Request rate accepted by vmselect nodes" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 50
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 92 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
dashboards: remove `path!="/favicon.ico"` filter from `requests rate` graphs
The `path!="/favicon.ico"` filter has little sense, since there are many other special paths,
which may be filtered out - /metrics, /flags, /health, /ping, /robots.txt, /-/healthy, /-/ready, /reload, etc.
See /lib/httpserver/httpserver.go for more details.
It will be hard or impossible to maintain filters for all these paths, so it is better to drop this filter
in order to simplify queries and improve the consistency of these queries.
2023-11-16 18:26:03 +00:00
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) by (path) > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Requests rate ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2023-10-31 15:05:33 +00:00
"description" : "Shows the max number of concurrent selects across instances.\n* `max` limit can be configured via `search.maxConcurrentRequests` flag\n* `current` shows the current number of goroutines busy with processing requests\n\nWhen `current` hits `max` constantly, it means one or more vmselect nodes are overloaded with number of requests. If you observe that CPU for vmselects is saturated, consider adding more vmselect replicas or increase CPU resources. If CPU panel shows a plenty of free resources - try increasing `search.maxConcurrentRequests`." ,
2022-11-24 02:03:25 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2022-09-16 19:24:32 +00:00
} ,
2022-11-24 02:03:25 +00:00
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
} ,
{
"id" : "custom.fillOpacity" ,
"value" : 0
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 50
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 95 ,
"links" : [ ] ,
2022-09-06 14:19:43 +00:00
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "max(max_over_time(vm_concurrent_select_current{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) " ,
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "current" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"expr" : "min(vm_concurrent_select_capacity{job=~\"$job_select\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "max" ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Concurrent selects ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=192&var-job=$job_select&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.9
}
]
} ,
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 8 ,
2022-09-06 14:19:43 +00:00
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 58
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 163 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_select\", instance=~\"$instance\"}\n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "max" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-09-16 19:24:32 +00:00
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
"expr" : "min(\n rate(process_cpu_seconds_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_select\", instance=~\"$instance\"}\n)" ,
"format" : "time_series" ,
2022-09-16 19:24:32 +00:00
"hide" : false ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "min" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
"refId" : "B"
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n rate(process_cpu_seconds_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_select\", instance=~\"$instance\"}\n)" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "C"
2022-09-16 19:24:32 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "CPU usage % ($instance)" ,
"type" : "timeseries"
2022-09-16 19:24:32 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=189&var-job=$job_select&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.9
}
]
} ,
"unit" : "percentunit"
2022-09-16 19:24:32 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-11-24 02:03:25 +00:00
"h" : 8 ,
2022-09-16 19:24:32 +00:00
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 58
2022-09-16 19:24:32 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 165 ,
2022-09-16 19:24:32 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_select\", instance=~\"$instance\"}\n)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "max" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
"expr" : "min(\n max_over_time(process_resident_memory_bytes{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_select\", instance=~\"$instance\"}\n)" ,
"format" : "time_series" ,
2022-09-16 19:24:32 +00:00
"hide" : false ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "min" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
"refId" : "B"
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n max_over_time(process_resident_memory_bytes{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_select\", instance=~\"$instance\"}\n)" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "C"
2022-09-16 19:24:32 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Memory usage % ($instance)" ,
"type" : "timeseries"
} ,
2022-09-16 19:24:32 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "99th percentile of the number of time series read per query." ,
2022-09-16 19:24:32 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-16 19:24:32 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 66
2022-09-16 19:24:32 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 178 ,
2022-09-16 19:24:32 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(histogram_quantile(0.99, sum(rate(vm_series_read_per_query_bucket{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange)))" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-16 19:24:32 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "series" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Series read per query ($instance)" ,
"type" : "timeseries"
2022-09-16 19:24:32 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) read per queried time series." ,
2022-09-16 19:24:32 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-16 19:24:32 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 66
2022-09-16 19:24:32 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 180 ,
2022-09-16 19:24:32 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(histogram_quantile(0.99, sum(rate(vm_rows_read_per_series_bucket{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange)))" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "datapoints" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Datapoints read per series ($instance)" ,
"type" : "timeseries"
2022-09-16 19:24:32 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-03-04 14:43:31 +00:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) read per query." ,
2022-09-16 19:24:32 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-16 19:24:32 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 74
2022-09-16 19:24:32 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 179 ,
2022-09-16 19:24:32 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(histogram_quantile(0.99, sum(rate(vm_rows_read_per_query_bucket{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange)))" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "datapoints" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Datapoints read per query ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-18 00:14:53 +00:00
"description" : "99th percentile of number of [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) scanner per query.\n\nThis number can exceed number of DatapointsReadPerQuery if `step` query arg passed to [/api/v1/query_range](https://prometheus.io/docs/prometheus/latest/querying/api/#range-queries) is smaller than the lookbehind window set in square brackets of [rollup function](https://docs.victoriametrics.com/metricsql/#rollup-functions). For example, if `increase(some_metric[1h])` is executed with the `step=5m`, then the same [data samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) on a hour time range are scanned `1h/5m=12` times. See [this article](https://valyala.medium.com/how-to-optimize-promql-and-metricsql-queries-85a1b75bf986) for details." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 2 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2022-09-16 19:24:32 +00:00
"h" : 8 ,
2022-09-06 14:19:43 +00:00
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 74
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 181 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(histogram_quantile(0.99, sum(rate(vm_rows_scanned_per_query_bucket{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange)))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "datapoints" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
}
] ,
2023-02-04 03:12:33 +00:00
"title" : "Datapoints scanned per query ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-16 19:24:32 +00:00
} ,
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-01-04 09:37:13 +00:00
"description" : "Shows network usage between vmselects and clients, such as vmalert, Grafana, vmui, etc." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bps"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
2024-01-04 09:37:13 +00:00
"w" : 12 ,
2022-09-06 14:19:43 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 82
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 93 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_read_bytes_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "read from client" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2022-09-06 14:19:43 +00:00
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_written_bytes_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "write to client" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "B"
2022-09-06 14:19:43 +00:00
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Network usage: clients ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows network usage between vmselects and vmstorages." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2024-01-04 09:37:13 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bps"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 82
2024-01-04 09:37:13 +00:00
} ,
"id" : 207 ,
"links" : [ ] ,
"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" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcpdialer_read_bytes_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "read from vmstorage" ,
2024-01-04 09:37:13 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcpdialer_written_bytes_total{job=~\"$job_select\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "write to vmstorage" ,
2024-01-04 09:37:13 +00:00
"range" : true ,
"refId" : "B"
}
] ,
"title" : "Network usage: vmstorage ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
}
] ,
"title" : "vmselect ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-11-24 02:03:25 +00:00
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 42
} ,
"id" : 40 ,
"panels" : [
2022-09-06 14:19:43 +00:00
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2022-11-24 02:03:25 +00:00
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 51
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 97 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
dashboards: remove `path!="/favicon.ico"` filter from `requests rate` graphs
The `path!="/favicon.ico"` filter has little sense, since there are many other special paths,
which may be filtered out - /metrics, /flags, /health, /ping, /robots.txt, /-/healthy, /-/ready, /reload, etc.
See /lib/httpserver/httpserver.go for more details.
It will be hard or impossible to maintain filters for all these paths, so it is better to drop this filter
in order to simplify queries and improve the consistency of these queries.
2023-11-16 18:26:03 +00:00
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])) by (path) > 0" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "__auto" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Requests rate ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2023-01-11 10:30:12 +00:00
"description" : "Shows the max number of ongoing insertions.\n* `max` - equal to number of CPU * 2 by default. May be configured with `maxConcurrentInserts` flag;\n* `current` - current number of goroutines busy with processing requests.\n\n`-maxConcurrentInserts` limits the number of insert requests which may be actively processed at any given point in time. All the other insert requests are queued for up to `-insert.maxQueueDuration` in the hope they will get a chance to be processed. This queue is used mostly for absorbing spikes for incoming insert request rate.\n\nWhen `current` hits `max` constantly, it means vminsert node is overloaded and requires more CPU or higher limits." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#C4162A" ,
"mode" : "fixed"
}
} ,
{
"id" : "custom.fillOpacity" ,
"value" : 0
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
2022-09-16 19:24:32 +00:00
"h" : 8 ,
2022-11-24 02:03:25 +00:00
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 51
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 99 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"expr" : "max(max_over_time(vm_concurrent_insert_current{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval]))" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "current" ,
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
"expr" : "min(vm_concurrent_insert_capacity{job=~\"$job_insert\", instance=~\"$instance\"})" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-06 14:19:43 +00:00
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "max" ,
2022-09-06 14:19:43 +00:00
"refId" : "B"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Concurrent inserts ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=192&var-job=$job_insert&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.9
}
]
} ,
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 59
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 185 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n rate(process_cpu_seconds_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_insert\", instance=~\"$instance\"}\n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "max" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
"expr" : "min(\n rate(process_cpu_seconds_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_insert\", instance=~\"$instance\"}\n)" ,
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"hide" : false ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "min" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "B"
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n rate(process_cpu_seconds_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])\n /\n process_cpu_cores_available{job=~\"$job_insert\", instance=~\"$instance\"}\n)" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "C"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "CPU usage % ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [
{
"targetBlank" : true ,
"title" : "Drilldown" ,
2022-11-28 13:13:00 +00:00
"url" : "/d/oS7Bi_0Wz?viewPanel=189&var-job=$job_insert&var-ds=$ds&var-instance=$instance&${__url_time_range}"
2022-11-24 02:03:25 +00:00
}
] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 0.9
}
]
} ,
"unit" : "percentunit"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 59
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 187 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max(\n max_over_time(process_resident_memory_bytes{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_insert\", instance=~\"$instance\"}\n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "max" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"exemplar" : true ,
"expr" : "min(\n max_over_time(process_resident_memory_bytes{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_insert\", instance=~\"$instance\"}\n)" ,
"format" : "time_series" ,
2022-09-06 14:19:43 +00:00
"hide" : false ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "min" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "B"
} ,
{
2022-11-24 02:03:25 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
2023-03-10 16:13:19 +00:00
"expr" : "quantile(0.5,\n max_over_time(process_resident_memory_bytes{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])\n /\n vm_available_memory_bytes{job=~\"$job_insert\", instance=~\"$instance\"}\n)" ,
2022-11-24 02:03:25 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-02-11 18:01:30 +00:00
"legendFormat" : "median" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
"refId" : "C"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Memory usage % ($instance)" ,
"type" : "timeseries"
} ,
2022-09-16 19:24:32 +00:00
{
2022-09-06 14:19:43 +00:00
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-03-05 14:00:49 +00:00
"description" : "Shows the saturation level of connection between vminsert and vmstorage components. \n\nIf the threshold of 0.9sec is reached, then the connection is saturated by more than 90% and vminsert won't be able to keep up. This usually means that either vminsert or vmstorage nodes are struggling with the load. Verify CPU/mem saturation of both components and network saturation between them.\nIf vminsert resources are saturated - consider adding more resources or scale vminserts horizontally.\n\nIf vminsert resources and network are fine, check vmstorage metrics for anomalies." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2024-01-04 09:37:13 +00:00
"mode" : "none"
2022-11-24 02:03:25 +00:00
} ,
"thresholdsStyle" : {
2024-01-04 09:37:13 +00:00
"mode" : "line+area"
2022-11-24 02:03:25 +00:00
}
} ,
2024-01-04 09:37:13 +00:00
"decimals" : 0 ,
2022-11-24 02:03:25 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
2024-01-04 09:37:13 +00:00
"min" : 0 ,
2022-11-24 02:03:25 +00:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "transparent"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
2024-01-04 09:37:13 +00:00
"value" : 0.9
2022-11-24 02:03:25 +00:00
}
]
} ,
2024-01-04 09:37:13 +00:00
"unit" : "s"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 67
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"id" : 139 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
2024-01-04 09:37:13 +00:00
"lastNotNull"
2022-11-24 02:03:25 +00:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
2024-01-04 09:37:13 +00:00
"expr" : "max(rate(vm_rpc_send_duration_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(addr)" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
2022-11-24 02:03:25 +00:00
"interval" : "" ,
2022-09-16 19:24:32 +00:00
"intervalFactor" : 1 ,
2024-01-04 09:37:13 +00:00
"legendFormat" : "__auto" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Storage connection saturation ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-09-16 19:24:32 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-01-04 09:37:13 +00:00
"description" : "Shows when vmstorage node is unreachable for vminsert." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2024-01-04 09:37:13 +00:00
"decimals" : 0 ,
2022-11-24 02:03:25 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 67
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"id" : 114 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
2024-01-04 09:37:13 +00:00
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "vm_rpc_vmstorage_is_reachable{job=~\"$job\", instance=~\"$instance\"} != 1" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}} => {{addr}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Storage reachability ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows network usage between vminserts and clients, such as vmagent, Prometheus, or any other client pushing metrics to vminsert." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2024-01-04 09:37:13 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bps"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 75
2024-01-04 09:37:13 +00:00
} ,
"id" : 208 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
2022-11-24 02:03:25 +00:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-09-16 19:24:32 +00:00
"editorMode" : "code" ,
2024-01-04 09:37:13 +00:00
"expr" : "sum(rate(vm_tcplistener_read_bytes_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "read from client" ,
2022-09-16 19:24:32 +00:00
"range" : true ,
2022-09-06 14:19:43 +00:00
"refId" : "A"
2024-01-04 09:37:13 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcplistener_written_bytes_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "write to client" ,
2024-01-04 09:37:13 +00:00
"range" : true ,
"refId" : "B"
2022-09-06 14:19:43 +00:00
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Network usage: clients ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-01-04 09:37:13 +00:00
"description" : "Shows network usage between vminserts and vmstorages." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
2024-01-04 09:37:13 +00:00
"mode" : "off"
2022-11-24 02:03:25 +00:00
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
2024-01-04 09:37:13 +00:00
"value" : 80
2022-11-24 02:03:25 +00:00
}
]
} ,
2024-01-04 09:37:13 +00:00
"unit" : "bps"
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/read.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
2022-09-06 14:19:43 +00:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2024-01-04 09:37:13 +00:00
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 75
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"id" : 209 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2024-01-04 09:37:13 +00:00
"expr" : "sum(rate(vm_tcpdialer_read_bytes_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "read from vmstorage" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
2024-01-04 09:37:13 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tcpdialer_written_bytes_total{job=~\"$job_insert\", instance=~\"$instance\"}[$__rate_interval])) * 8 > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2024-02-16 09:20:38 +00:00
"legendFormat" : "write to vmstorage" ,
2024-01-04 09:37:13 +00:00
"range" : true ,
"refId" : "B"
2022-09-16 19:24:32 +00:00
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Network usage: vmstorage ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2024-01-04 09:37:13 +00:00
"description" : "" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2024-01-04 09:37:13 +00:00
"decimals" : 2 ,
2022-11-24 02:03:25 +00:00
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-02 14:41:08 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 83
2022-09-06 14:19:43 +00:00
} ,
2024-01-04 09:37:13 +00:00
"id" : 88 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
2024-01-04 09:37:13 +00:00
"lastNotNull" ,
"max"
2022-11-24 02:03:25 +00:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
2024-01-04 09:37:13 +00:00
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
2022-11-24 02:03:25 +00:00
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2024-01-04 09:37:13 +00:00
"expr" : "max(histogram_quantile(0.99, sum(increase(vm_rows_per_insert_bucket{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (instance, vmrange)))" ,
2022-09-16 19:24:32 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2024-01-04 09:37:13 +00:00
"legendFormat" : "max" ,
2022-11-24 02:03:25 +00:00
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2024-01-04 09:37:13 +00:00
"title" : "Rows per insert ($instance)" ,
2022-11-24 02:03:25 +00:00
"type" : "timeseries"
}
] ,
"title" : "vminsert ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 43
} ,
"id" : 194 ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-11-24 02:03:25 +00:00
} ,
"gridPos" : {
"h" : 2 ,
"w" : 24 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 100
2022-11-24 02:03:25 +00:00
} ,
"id" : 198 ,
"options" : {
2022-12-05 07:35:33 +00:00
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
2022-11-24 02:03:25 +00:00
"content" : "Drilldown row is used by other panels on the dashboard to show more detailed metrics per-instance." ,
"mode" : "markdown"
} ,
2023-06-12 13:58:47 +00:00
"pluginVersion" : "9.2.7" ,
2022-11-24 02:03:25 +00:00
"transparent" : true ,
"type" : "text"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "Shows the used memory (resident).\nThe application's performance will significantly degrade when memory usage is close to 100%." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
}
]
} ,
"unit" : "decbytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 102
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 189 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
2022-09-16 19:24:32 +00:00
"exemplar" : true ,
2022-11-24 02:03:25 +00:00
"expr" : "max_over_time(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{instance}} ({{job}})" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "RSS memory usage ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
2022-11-24 02:03:25 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "RSS share for memory allocated by the process itself. This share cannot be freed by the OS, so it must be taken into account by OOM killer." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
}
]
} ,
"unit" : "decbytes"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 102
2022-09-06 14:19:43 +00:00
} ,
2022-11-24 02:03:25 +00:00
"id" : 190 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "max_over_time(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
2022-09-16 19:24:32 +00:00
"interval" : "" ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{instance}} ({{job}})" ,
"range" : true ,
2022-09-16 19:24:32 +00:00
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "RSS anonymous memory usage ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2022-11-24 02:03:25 +00:00
"description" : "" ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
}
]
} ,
"unit" : "short"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 110
2022-11-24 02:03:25 +00:00
} ,
"id" : 192 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-11-24 02:03:25 +00:00
"exemplar" : false ,
"expr" : "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(job, instance)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-11-24 02:03:25 +00:00
"legendFormat" : "{{instance}} ({{job}})" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "CPU usage ($instance)" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-02-08 08:51:43 +00:00
"description" : "Shows the approx time needed to reach 100% of disk capacity based on the following params:\n* free disk space;\n* row ingestion rate;\n* compression.\n\nNote: this panel doesn't account for deduplication process." ,
2022-09-06 14:19:43 +00:00
"fieldConfig" : {
"defaults" : {
2022-11-24 02:03:25 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2022-11-24 02:03:25 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
2022-09-06 14:19:43 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 110
2022-11-24 02:03:25 +00:00
} ,
"id" : 196 ,
2022-09-06 14:19:43 +00:00
"links" : [ ] ,
"options" : {
2022-11-24 02:03:25 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"min"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2022-09-16 19:24:32 +00:00
}
2022-11-24 02:03:25 +00:00
} ,
"pluginVersion" : "9.1.0" ,
2022-09-16 19:24:32 +00:00
"targets" : [
{
2022-09-06 14:19:43 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2024-02-08 08:43:39 +00:00
"expr" : "vm_free_disk_space_bytes{job=~\"$job_storage\", instance=~\"$instance\"} \n/ \nignoring(path) (\n rate(vm_rows_added_to_storage_total{job=~\"$job_storage\", instance=~\"$instance\"}[1d])\n * scalar(\n sum(vm_data_size_bytes{job=~\"$job_storage\", instance=~\"$instance\", type!~\"indexdb.*\"})\n / \n sum(vm_rows{job=~\"$job_storage\", instance=~\"$instance\", type!~\"indexdb.*\"})\n )\n)" ,
2022-09-06 14:19:43 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-09-16 19:24:32 +00:00
"legendFormat" : "{{instance}}" ,
2022-09-06 14:19:43 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Storage full ETA ($instance)" ,
"type" : "timeseries"
2022-12-05 07:35:33 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows the percentage of used disk space. It is recommended to have at least 20% of free disk space for the best performance." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2022-12-05 07:35:33 +00:00
}
]
} ,
"unit" : "decbytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 117
2022-12-05 07:35:33 +00:00
} ,
"id" : 200 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Disk space usage ($instance)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2022-12-05 07:35:33 +00:00
}
]
} ,
"unit" : "decbytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-02-02 15:21:21 +00:00
"y" : 117
2022-12-05 07:35:33 +00:00
} ,
"id" : 201 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-12-05 23:59:52 +00:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type=~\"indexdb.*\"}) by(job, instance)" ,
2022-12-05 07:35:33 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}:{{instance}} (indexdb)" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
2022-12-05 23:59:52 +00:00
"expr" : "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!~\"indexdb.*\"}) by(job, instance)" ,
2022-12-05 07:35:33 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}:{{instance}} (datapoints)" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "Disk space usage by type ($instance)" ,
"type" : "timeseries"
2023-06-12 13:58:47 +00:00
} ,
{
"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" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "bars" ,
"fillOpacity" : 100 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-01-04 09:37:13 +00:00
"color" : "green"
2023-06-12 13:58:47 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-02-02 15:21:21 +00:00
"y" : 125
2023-06-12 13:58:47 +00:00
} ,
"id" : 203 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Last *" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : true ,
"expr" : "sum(rate(vm_log_messages_total{job=~\"$job\",instance=~\"$instance\", level!=\"info\"}[$__rate_interval])) by (job, instance, level, location) > 0" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "5m" ,
"intervalFactor" : 1 ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Logging rate" ,
"type" : "timeseries"
2022-09-06 14:19:43 +00:00
}
] ,
2022-11-24 02:03:25 +00:00
"title" : "Drilldown" ,
2022-09-06 14:19:43 +00:00
"type" : "row"
}
] ,
2024-02-02 14:41:08 +00:00
"refresh" : "" ,
"schemaVersion" : 39 ,
2022-09-06 14:19:43 +00:00
"tags" : [ ] ,
"templating" : {
2022-09-16 19:24:32 +00:00
"list" : [
{
2022-09-06 14:19:43 +00:00
"current" : {
2024-02-02 14:41:08 +00:00
"selected" : false ,
"text" : "VictoriaMetrics - cluster" ,
"value" : "PAF93674D0B4E9963"
2022-09-06 14:19:43 +00:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"current" : { } ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-12-16 08:53:32 +00:00
"definition" : "label_values(vm_app_version{version=~\"^vm(insert|select|storage).*\"}, job)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : true ,
"name" : "job" ,
2022-09-06 14:19:43 +00:00
"options" : [ ] ,
"query" : {
2022-12-16 08:53:32 +00:00
"query" : "label_values(vm_app_version{version=~\"^vm(insert|select|storage).*\"}, job)" ,
"refId" : "VictoriaMetrics-job-Variable-Query"
2022-09-06 14:19:43 +00:00
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"current" : { } ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-12-16 08:53:32 +00:00
"definition" : "label_values(vm_app_version{job=~\"$job\", version=~\"^vminsert.*\"}, job)" ,
2022-09-06 14:19:43 +00:00
"hide" : 2 ,
2023-10-11 10:09:04 +00:00
"includeAll" : true ,
"multi" : true ,
2022-12-16 08:53:32 +00:00
"name" : "job_insert" ,
2022-09-06 14:19:43 +00:00
"options" : [ ] ,
"query" : {
2022-12-16 08:53:32 +00:00
"query" : "label_values(vm_app_version{job=~\"$job\", version=~\"^vminsert.*\"}, job)" ,
"refId" : "StandardVariableQuery"
2022-09-06 14:19:43 +00:00
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"current" : { } ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-12-16 08:53:32 +00:00
"definition" : "label_values(vm_app_version{job=~\"$job\", version=~\"^vmselect.*\"}, job)" ,
2022-09-06 14:19:43 +00:00
"hide" : 2 ,
2023-10-11 10:09:04 +00:00
"includeAll" : true ,
"multi" : true ,
2022-12-16 08:53:32 +00:00
"name" : "job_select" ,
2022-09-06 14:19:43 +00:00
"options" : [ ] ,
"query" : {
2022-12-16 08:53:32 +00:00
"query" : "label_values(vm_app_version{job=~\"$job\", version=~\"^vmselect.*\"}, job)" ,
"refId" : "StandardVariableQuery"
2022-09-06 14:19:43 +00:00
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"current" : { } ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
2022-12-16 08:53:32 +00:00
"definition" : "label_values(vm_app_version{job=~\"$job\", version=~\"^vmstorage.*\"}, job)" ,
"hide" : 2 ,
2023-10-11 10:09:04 +00:00
"includeAll" : true ,
"multi" : true ,
2022-12-16 08:53:32 +00:00
"name" : "job_storage" ,
2022-09-06 14:19:43 +00:00
"options" : [ ] ,
"query" : {
2022-12-16 08:53:32 +00:00
"query" : "label_values(vm_app_version{job=~\"$job\", version=~\"^vmstorage.*\"}, job)" ,
"refId" : "StandardVariableQuery"
2022-09-06 14:19:43 +00:00
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
"current" : { } ,
"datasource" : {
2022-11-28 07:37:39 +00:00
"type" : "prometheus" ,
2022-09-06 14:19:43 +00:00
"uid" : "$ds"
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : true ,
"name" : "instance" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "VictoriaMetrics-instance-Variable-Query"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-09-06 14:19:43 +00:00
} ,
"filters" : [ ] ,
"hide" : 0 ,
"name" : "adhoc" ,
"skipUrlSync" : false ,
"type" : "adhoc"
}
]
} ,
"time" : {
"from" : "now-3h" ,
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
]
} ,
"timezone" : "" ,
"title" : "VictoriaMetrics - cluster" ,
"uid" : "oS7Bi_0Wz" ,
"version" : 1 ,
"weekStart" : ""
2024-04-29 10:10:24 +00:00
}