2019-11-07 11:09:27 +01:00
{
2020-07-17 01:18:03 +02:00
"__inputs" : [ ] ,
2019-11-11 23:23:24 +01:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2020-07-17 01:18:03 +02:00
"version" : "7.0.3"
2019-11-11 23:23:24 +01:00
} ,
{
"type" : "panel" ,
"id" : "graph" ,
"name" : "Graph" ,
"version" : ""
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "singlestat" ,
"name" : "Singlestat" ,
"version" : ""
} ,
{
"type" : "panel" ,
2020-06-12 21:07:28 +02:00
"id" : "table-old" ,
"name" : "Table (old)" ,
2019-11-11 23:23:24 +01:00
"version" : ""
}
] ,
2019-11-07 11:09:27 +01:00
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : "-- Grafana --" ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
}
]
} ,
2020-05-19 10:57:20 +02:00
"description" : "Overview for cluster VictoriaMetrics v1.35.5 or higher" ,
2019-11-07 11:09:27 +01:00
"editable" : true ,
"gnetId" : null ,
"graphTooltip" : 0 ,
2019-11-11 23:23:24 +01:00
"id" : null ,
2020-07-22 11:43:23 +02:00
"iteration" : 1595367216688 ,
2019-11-12 14:06:56 +01:00
"links" : [
{
"icon" : "doc" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Cluster Wiki" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/wiki/Cluster-VictoriaMetrics"
} ,
{
"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"
}
] ,
2019-11-07 11:09:27 +01:00
"panels" : [
{
"collapsed" : false ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2019-11-07 11:09:27 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 10 ,
"panels" : [ ] ,
"title" : "Overview" ,
"type" : "row"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource" : "$ds" ,
"description" : "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality)." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"format" : "short" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
2020-05-19 10:57:20 +02:00
"w" : 6 ,
2019-11-07 11:09:27 +01:00
"x" : 0 ,
"y" : 1
} ,
"id" : 34 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : true ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "sum(vm_rows{job=\"$job_storage\", type=\"indexdb\"})" ,
"format" : "time_series" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : "" ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Index size" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource" : "$ds" ,
"description" : "Total amount of used disk space" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
2020-05-19 10:57:20 +02:00
"w" : 6 ,
"x" : 6 ,
2019-11-07 11:09:27 +01:00
"y" : 1
} ,
"id" : 35 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : true ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "sum(vm_data_size_bytes{job=\"$job_storage\", type!=\"indexdb\"})" ,
"format" : "time_series" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : "" ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Disk space usage" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource" : "$ds" ,
"description" : "How many datapoints are in storage" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"format" : "short" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
2020-05-19 10:57:20 +02:00
"w" : 6 ,
"x" : 12 ,
2019-11-07 11:09:27 +01:00
"y" : 1
} ,
"id" : 32 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : true ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "sum(vm_rows{job=\"$job_storage\", type!=\"indexdb\"})" ,
"format" : "time_series" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : "" ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Total datapoints" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
2020-05-19 10:57:20 +02:00
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource" : "$ds" ,
"decimals" : 2 ,
"description" : "Average disk usage per datapoint." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 10:57:20 +02:00
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 6 ,
"x" : 18 ,
"y" : 1
} ,
"id" : 112 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : true ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"tableColumn" : "" ,
"targets" : [
{
2020-06-12 21:07:28 +02:00
"expr" : "sum(vm_data_size_bytes{job=\"$job_storage\", type!=\"indexdb\"}) / sum(vm_rows{job=\"$job_storage\", type!=\"indexdb\"})" ,
2020-05-19 10:57:20 +02:00
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
}
] ,
"thresholds" : "" ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Bytes per point" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
2019-11-07 11:09:27 +01:00
{
"columns" : [ ] ,
"datasource" : "$ds" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fontSize" : "100%" ,
"gridPos" : {
"h" : 7 ,
"w" : 8 ,
"x" : 0 ,
"y" : 3
} ,
"id" : 26 ,
"pageSize" : null ,
"scroll" : true ,
"showHeader" : true ,
"sort" : {
"col" : null ,
"desc" : false
} ,
"styles" : [
{
"alias" : "uptime" ,
2020-03-28 00:17:38 +01:00
"align" : "auto" ,
2019-11-07 11:09:27 +01:00
"colorMode" : "cell" ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"mappingType" : 1 ,
"pattern" : "Value" ,
"thresholds" : [
"1800" ,
"3600"
] ,
"type" : "number" ,
"unit" : "s"
} ,
{
"alias" : "" ,
2020-03-28 00:17:38 +01:00
"align" : "auto" ,
2019-11-07 11:09:27 +01:00
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"mappingType" : 1 ,
"pattern" : "instance" ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
} ,
{
"alias" : "" ,
2020-03-28 00:17:38 +01:00
"align" : "auto" ,
2019-11-07 11:09:27 +01:00
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"mappingType" : 1 ,
2020-03-28 00:17:38 +01:00
"pattern" : "/.*/" ,
2019-11-07 11:09:27 +01:00
"thresholds" : [ ] ,
"type" : "hidden" ,
"unit" : "short"
}
] ,
"targets" : [
{
"expr" : "sort((time() - vm_app_start_timestamp{job=~\"$job\", instance=~\"$instance\"}) or (up{job=~\"$job\", instance=~\"$instance\"}))" ,
"format" : "table" ,
"hide" : false ,
"instant" : true ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Uptime" ,
"transform" : "table" ,
2020-06-12 21:07:28 +02:00
"type" : "table-old"
2019-11-07 11:09:27 +01:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 16 ,
"x" : 8 ,
"y" : 3
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 62 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"sideWidth" : null ,
"sort" : "current" ,
"sortDesc" : false ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : true ,
"targets" : [
{
"expr" : "sort(sum(up{job=~\"$job\", instance=~\"$instance\"}) by (job, instance))" ,
"format" : "time_series" ,
"instant" : false ,
"legendFormat" : "{{instance}}({{job}})" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Uptime" ,
"tooltip" : {
"shared" : true ,
"sort" : 1 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "none" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"decimals" : null ,
"format" : "short" ,
"label" : "" ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : 2
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "How many datapoints are inserted into storage per second" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 10
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 2 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-10 19:32:10 +01:00
"expr" : "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by (type) > 0 " ,
2019-11-07 11:09:27 +01:00
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Datapoints ingestion rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$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)" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 10
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 6 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance.*\", path!~\"/favicon.ico\"}[5m])) by (path) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Requests rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 18
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 52 ,
2019-11-07 11:09:27 +01:00
"legend" : {
2020-05-19 10:57:20 +02:00
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
2019-11-07 11:09:27 +01:00
"max" : false ,
"min" : false ,
"show" : true ,
2020-05-19 10:57:20 +02:00
"sort" : "current" ,
"sortDesc" : true ,
2019-11-07 11:09:27 +01:00
"total" : false ,
2020-05-19 10:57:20 +02:00
"values" : true
2019-11-07 11:09:27 +01:00
} ,
"lines" : true ,
"linewidth" : 1 ,
2020-05-19 10:57:20 +02:00
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
2019-11-07 11:09:27 +01:00
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance.*\"}[5m])) by (path) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "Requests error rate ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
2020-05-19 10:57:20 +02:00
"sort" : 2 ,
2019-11-07 11:09:27 +01:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The less time it takes is better.\n* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 18
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 8 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "max(vm_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=~\"(0.5|0.99)\"}) by (path, quantile) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{quantile}} ({{path}})" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Query duration ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "RPC errors are interconnection errors between cluster components. Errors rate should be 0 if network connection is stable and all components are up and operational." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 26
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 44 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
2020-05-19 10:57:20 +02:00
"nullPointMode" : "null" ,
2019-11-07 11:09:27 +01:00
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
2020-05-19 10:57:20 +02:00
"pointradius" : 1 ,
2019-11-07 11:09:27 +01:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(rate(vm_rpc_connection_errors_total{job=~\"$job\",instance=~\"$instance.*\"}[5m]))" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-05-19 10:57:20 +02:00
"legendFormat" : "Connection" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
2020-05-19 10:57:20 +02:00
} ,
{
"expr" : "sum(rate(vm_rpc_dial_errors_total{job=~\"$job\",instance=~\"$instance.*\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Dial" ,
"refId" : "B"
} ,
{
"expr" : "sum(rate(vm_rpc_handshake_errors_total{job=~\"$job\",instance=~\"$instance.*\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Handshake" ,
"refId" : "E"
} ,
{
"expr" : "sum(rate(vm_rpc_reroute_errors_total{job=~\"$job\",instance=~\"$instance.*\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Reroute" ,
"refId" : "C"
2019-11-07 11:09:27 +01:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "RPC errors ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
2020-05-19 10:57:20 +02:00
"sort" : 0 ,
2019-11-07 11:09:27 +01:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 10:57:20 +02:00
"format" : "rps" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Shows the number of active time series with new data points inserted during the last hour. High value may result in ingestion slowdown. \n\nSee following link for details:" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 26
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 12 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [
{
"targetBlank" : true ,
"title" : "troubleshooting" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#troubleshooting"
}
] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_cache_entries{job=~\"$job\", instance=~\"$instance.*\", type=\"storage/hour_metric_ids\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Active time series" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Active time series ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-10 19:32:10 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "Shows amount of remaining disk space at `-storageDataPath`" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-10 19:32:10 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 34
} ,
2019-12-09 12:07:09 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 110 ,
2019-11-10 19:32:10 +01:00
"legend" : {
2020-05-19 10:57:20 +02:00
"avg" : false ,
"current" : false ,
2019-11-10 19:32:10 +01:00
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
2020-05-19 10:57:20 +02:00
"values" : false
2019-11-10 19:32:10 +01:00
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
2020-05-19 10:57:20 +02:00
"pointradius" : 2 ,
2019-11-10 19:32:10 +01:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2020-05-19 10:57:20 +02:00
"stack" : true ,
2019-11-10 19:32:10 +01:00
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(vm_free_disk_space_bytes{job=\"$job_storage\", instance=~\"$instance\"}) by(instance)" ,
2019-11-10 19:32:10 +01:00
"format" : "time_series" ,
2020-05-19 10:57:20 +02:00
"interval" : "" ,
2019-11-10 19:32:10 +01:00
"intervalFactor" : 1 ,
2020-05-19 10:57:20 +02:00
"legendFormat" : "{{instance}}" ,
2019-11-10 19:32:10 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "Free disk space ($instance)" ,
2019-11-10 19:32:10 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 10:57:20 +02:00
"format" : "bytes" ,
2019-11-10 19:32:10 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-05-19 10:57:20 +02:00
"min" : "0" ,
2019-11-10 19:32:10 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-12-09 12:07:09 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Shows the rate of logging the messages by their level. Unexpected spike in rate is a good reason to check logs." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-12-09 12:07:09 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 34
} ,
"hiddenSeries" : false ,
"id" : 104 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_log_messages_total{job=~\"$job\",instance=~\"$instance.*\"}[5m])) by (job, level) " ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}} - {{level}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Logging rate" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : null ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
2020-05-19 10:57:20 +02:00
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 42
} ,
"id" : 46 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 3
} ,
"hiddenSeries" : false ,
"id" : 64 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(instance)" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "CPU ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Amount of used memory (resident)" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 3
} ,
"hiddenSeries" : false ,
"id" : 66 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)" ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Memory usage ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 11
} ,
"hiddenSeries" : false ,
"id" : 68 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Goroutines ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-07 11:09:27 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2020-05-19 10:57:20 +02:00
"x" : 12 ,
"y" : 11
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 70 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2020-05-19 10:57:20 +02:00
"show" : false ,
2019-11-07 11:09:27 +01:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"}) by(instance)" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
2020-05-19 10:57:20 +02:00
"intervalFactor" : 2 ,
2019-11-07 11:09:27 +01:00
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "Threads ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 10:57:20 +02:00
"decimals" : 0 ,
"format" : "short" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-05-19 10:57:20 +02:00
"min" : "0" ,
2019-11-07 11:09:27 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2020-05-19 10:57:20 +02:00
"x" : 0 ,
"y" : 19
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 72 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "max(go_gc_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=\"1\"}) by(instance)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
2019-11-07 11:09:27 +01:00
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "GC duration ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 10:57:20 +02:00
"format" : "s" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-05-19 10:57:20 +02:00
"min" : null ,
2019-11-07 11:09:27 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2020-05-19 10:57:20 +02:00
}
] ,
"title" : "Resource usage ($job)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 43
} ,
"id" : 106 ,
"panels" : [
2019-11-07 11:09:27 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "Shows how many of new time-series are created every second. 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 \"explosions\".\n\nGood references to read:\n* https://www.robustperception.io/cardinality-is-key\n* https://www.robustperception.io/using-tsdb-analyze-to-investigate-churn-and-cardinality" ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 3
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 102 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2020-05-19 10:57:20 +02:00
"show" : true ,
2019-11-07 11:09:27 +01:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(rate(vm_new_timeseries_created_total{job=~\"$job_storage\", instance=~\"$instance\"}[5m]))" ,
"legendFormat" : "churn rate" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "Churn rate ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-05-19 10:57:20 +02:00
"min" : null ,
2019-11-07 11:09:27 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "Slow queries according to `search.logSlowQueryDuration` flag, which is `5s` by default." ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-05-19 10:57:20 +02:00
"y" : 3
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 107 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(rate(vm_slow_queries_total{job=\"$job_select\", instance=~\"$instance\"}[5m]))" ,
"interval" : "" ,
"legendFormat" : "slow queries rate" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 23:51:12 +02:00
"title" : "Slow queries rate ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-05-19 10:57:20 +02:00
"min" : null ,
2019-11-07 11:09:27 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 23:51:12 +02: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 (>50%) during extended periods of time, then it is likely more RAM is needed for optimal handling of the current number of 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 may other factors such as the number of labels per time series and the length of label values." ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
2020-05-19 23:51:12 +02:00
"w" : 24 ,
2019-11-07 11:09:27 +01:00
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 11
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 108 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 23:51:12 +02:00
"expr" : "sum(rate(vm_slow_row_inserts_total{job=\"$job_storage\"}[5m])) / sum(rate(vm_rows_inserted_total{job=\"$job_insert\"}[5m]))" ,
2020-05-19 10:57:20 +02:00
"interval" : "" ,
"legendFormat" : "slow inserts" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 23:51:12 +02:00
"title" : "Slow inserts" ,
2020-05-19 10:57:20 +02:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 23:51:12 +02:00
"format" : "percentunit" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
2020-05-19 10:57:20 +02:00
"title" : "Troubleshooting" ,
2019-11-07 11:09:27 +01:00
"type" : "row"
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2019-11-07 11:09:27 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 44
2019-11-07 11:09:27 +01:00
} ,
"id" : 48 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$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" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 4
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 76 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 1 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rpc_rows_pushed_total{job=~\"$job\",instance=~\"$instance\"}[2m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Pushed" ,
"refId" : "B"
} ,
{
"expr" : "sum(rate(vm_rpc_rows_sent_total{job=~\"$job\",instance=~\"$instance\"}[2m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Sent" ,
"refId" : "E"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Rows ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$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." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2020-05-19 10:57:20 +02:00
"y" : 4
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 86 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 1 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rpc_connection_errors_total{job=~\"$job\",instance=~\"$instance\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Connection" ,
"refId" : "A"
} ,
{
"expr" : "sum(rate(vm_rpc_dial_errors_total{job=~\"$job\",instance=~\"$instance\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Dial" ,
"refId" : "B"
} ,
{
"expr" : "sum(rate(vm_rpc_handshake_errors_total{job=~\"$job\",instance=~\"$instance\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Handshake" ,
"refId" : "E"
} ,
{
"expr" : "sum(rate(vm_rpc_reroute_errors_total{job=~\"$job\",instance=~\"$instance\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Reroute" ,
"refId" : "C"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "RPC errors ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The number of rows rerouted to the vmstorage node from other nodes when they were unhealthy." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 13
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 80 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 1 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rpc_rows_rerouted_to_here_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(addr) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{addr}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Rows ($instance) rerouted to " ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "rps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The number of rows rerouted from the vmstorage node to healthy nodes when the given node was unhealthy." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-05-19 10:57:20 +02:00
"y" : 13
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 78 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 1 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rpc_rows_rerouted_from_here_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(addr) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{addr}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Rows ($instance) rerouted from" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "rps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The number of rows or bytes that vminesrt internal buffer contains at the moment." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 21
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 82 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "bytes" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_rpc_buf_pending_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"legendFormat" : "bytes" ,
"refId" : "A"
} ,
{
"expr" : "sum(vm_rpc_rows_pending{job=~\"$job\", instance=~\"$instance\"})" ,
"legendFormat" : "rows" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Pending" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The number of rows that were lost because of unhealthy vmstorage nodes." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-05-19 10:57:20 +02:00
"y" : 21
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 84 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rpc_rows_lost_total{job=~\"$job\", instance=~\"$instance\"}[5m]))" ,
"legendFormat" : "rows" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Rows lost ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Network usage by internal VictoriaMetrics RPC protocol" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 29
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 74 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-02-03 01:07:07 +01:00
"expr" : "sum(rate(vm_tcpdialer_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[5m])) * 8" ,
2019-11-07 11:09:27 +01:00
"legendFormat" : "network usage" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "RPC network usage ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-02-03 01:07:07 +01:00
"format" : "bps" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
"title" : "Interconnection ($job)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2019-11-07 11:09:27 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 45
2019-11-07 11:09:27 +01:00
} ,
"id" : 60 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "VictoriaMetrics stores various caches in RAM. Memory size for these caches may be limited with -`memory.allowedPercent` flag. Line `max allowed` shows max allowed memory size for cache." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 13
2019-11-07 11:09:27 +01:00
} ,
2020-05-19 10:57:20 +02:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 57 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max allowed" ,
"color" : "#C4162A" ,
2020-02-03 22:21:04 +01:00
"fill" : 0 ,
2019-11-07 11:09:27 +01:00
"stack" : false
}
] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"}) by(type)" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
} ,
{
"expr" : "sum(vm_allowed_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "max allowed" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Cache size ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "VictoriaMetrics stores various caches in RAM. Memory size for these caches may be limited with -`memory.allowedPercent` flag. Line `max allowed` shows max allowed memory size for cache." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-05-19 10:57:20 +02:00
"y" : 13
2019-11-07 11:09:27 +01:00
} ,
2020-05-19 10:57:20 +02:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 58 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-12 14:06:56 +01:00
"expr" : "1 - (sum(rate(vm_cache_misses_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by (type) / sum(rate(vm_cache_requests_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by (type))" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Cache hit ratio ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
"title" : "Caches ($job)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2019-11-07 11:09:27 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 46
2019-11-07 11:09:27 +01:00
} ,
"id" : 24 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "Shows how many datapoints are in the storage." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 21:07:28 +02:00
"y" : 47
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 16 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(vm_rows{job=\"$job_storage\", instance=~\"$instance\", type!=\"indexdb\"}) by(instance)" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
2020-05-19 10:57:20 +02:00
"interval" : "" ,
2019-11-07 11:09:27 +01:00
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Datapoints ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
2020-05-19 10:57:20 +02:00
"decimals" : null ,
2019-11-07 11:09:27 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2019-11-10 19:32:10 +01:00
"description" : "Shows how many rows per second every storage node accepts. This metric doesn't show all stored rows since some of them may be dropped because of wrong timestamps or decode errors." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 21:07:28 +02:00
"y" : 47
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-10 19:32:10 +01:00
"id" : 100 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2019-11-10 19:32:10 +01:00
"expr" : "sum(rate(vm_vminsert_metrics_read_total{job=\"$job_storage\", instance=~\"$instance\"}[5m])) by(instance)" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-10 19:32:10 +01:00
"title" : "Ingestion rate ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
2019-11-10 19:32:10 +01:00
"sort" : 2 ,
2019-11-07 11:09:27 +01:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2019-11-10 19:32:10 +01:00
"format" : "short" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "Shows amount of on-disk space occupied by data points." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 21:07:28 +02:00
"y" : 55
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 18 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(vm_data_size_bytes{job=\"$job_storage\", instance=~\"$instance\", type!=\"indexdb\"}) by(instance)" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "Disk space usage (datapoints) ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-05-19 10:57:20 +02:00
"description" : "Shows amount of on-disk space occupied by inverted index." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 21:07:28 +02:00
"y" : 55
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2020-05-19 10:57:20 +02:00
"id" : 20 ,
2019-11-07 11:09:27 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2019-11-10 19:32:10 +01:00
"show" : true ,
2019-11-07 11:09:27 +01:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2019-11-10 19:32:10 +01:00
"seriesOverrides" : [ ] ,
2019-11-07 11:09:27 +01:00
"spaceLength" : 10 ,
2019-11-10 19:32:10 +01:00
"stack" : true ,
2019-11-07 11:09:27 +01:00
"steppedLine" : false ,
"targets" : [
{
2020-05-19 10:57:20 +02:00
"expr" : "sum(vm_data_size_bytes{job=\"$job_storage\", instance=~\"$instance\", type=\"indexdb\"}) by(instance)" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2019-11-10 19:32:10 +01:00
"legendFormat" : "{{instance}}" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 10:57:20 +02:00
"title" : "Disk space usage (index) ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2019-11-10 19:32:10 +01:00
"format" : "bytes" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2019-11-10 19:32:10 +01:00
"min" : "0" ,
2019-11-07 11:09:27 +01:00
"show" : true
} ,
{
2019-11-10 19:32:10 +01:00
"format" : "short" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The number of on-going merges in storage nodes. It is expected to have high numbers for `storage/small` metric." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 21:07:28 +02:00
"y" : 63
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 54 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_active_merges{job=\"$job_storage\", instance=~\"$instance\"}) by(type)" ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Active merges ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
2020-02-03 01:07:07 +01: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." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 21:07:28 +02:00
"y" : 63
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-10 19:32:10 +01:00
"id" : 14 ,
2019-11-07 11:09:27 +01:00
"legend" : {
2019-11-10 19:32:10 +01:00
"alignAsTable" : true ,
2019-11-07 11:09:27 +01:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2019-11-10 19:32:10 +01:00
"rightSide" : false ,
2019-11-07 11:09:27 +01:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
2019-11-10 19:32:10 +01:00
"links" : [ ] ,
2019-11-07 11:09:27 +01:00
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2019-11-10 19:32:10 +01:00
"seriesOverrides" : [
{
"alias" : "pending index entries" ,
"yaxis" : 2
}
] ,
2019-11-07 11:09:27 +01:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-10 19:32:10 +01:00
"expr" : "sum(vm_pending_rows{job=\"$job_storage\", instance=~\"$instance\", type=\"storage\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending datapoints" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
2019-11-10 19:32:10 +01:00
} ,
{
"expr" : "sum(vm_pending_rows{job=\"$job_storage\", instance=~\"$instance\", type=\"indexdb\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending index entries" ,
"refId" : "B"
2019-11-07 11:09:27 +01:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-10 19:32:10 +01:00
"title" : "Pending datapoints ($instance)" ,
2019-11-07 11:09:27 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
2019-11-10 19:32:10 +01:00
"decimals" : 3 ,
"format" : "none" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Data parts of LSM tree.\nHigh number of parts could be an evidence of slow merge performance - check the resource utilization.\n* `indexdb` - inverted index\n* `storage/small` - recently added parts of data ingested into storage(hot data)\n* `storage/big` - small parts gradually merged into big parts (cold data)" ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 21:07:28 +02:00
"y" : 71
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 22 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_parts{job=\"$job_storage\", instance=~\"$instance\"}) by (type)" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "LSM parts ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-10 19:32:10 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "The number of rows merged per second by storage nodes." ,
2020-06-12 21:07:28 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-10 19:32:10 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 21:07:28 +02:00
"y" : 71
2019-11-10 19:32:10 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-10 19:32:10 +01:00
"id" : 55 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rows_merged_total{job=\"$job_storage\", instance=~\"$instance\"}[5m])) by(type)" ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Merge speed" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-07 11:09:27 +01:00
}
] ,
"title" : "storage ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2019-11-07 11:09:27 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 47
2019-11-07 11:09:27 +01:00
} ,
"id" : 42 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Request rate accepted by vmselect nodes" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 15
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 92 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job_select\", instance=~\"$instance.*\", path!~\"/favicon.ico\"}[5m])) by (path) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Requests rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Shows how many ongoing insertions are taking place.\n* `max` - equal to number of CPU * 2 by default. May be configured with `search.maxConcurrentRequests` flag\n* `current` - current number of goroutines busy with processing requests\n\nWhen `current` hits `max` constantly, it means vmselect node is overloaded and require more CPU or higher limits." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-05-19 10:57:20 +02:00
"y" : 15
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 95 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max" ,
2020-02-03 22:21:04 +01:00
"color" : "#C4162A" ,
"fill" : 0
2019-11-07 11:09:27 +01:00
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_concurrent_queries{job=\"$job_select\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-01-30 00:48:36 +01:00
"legendFormat" : "current" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
} ,
{
"expr" : "sum(vm_concurrent_select_capacity{job=\"$job_select\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-01-30 00:48:36 +01:00
"legendFormat" : "max" ,
2019-11-07 11:09:27 +01:00
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Concurrent selects ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 24 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 23
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 93 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "/read.*/" ,
"transform" : "negative-Y"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-02-03 01:07:07 +01:00
"expr" : "sum(rate(vm_tcplistener_read_bytes_total{job=~\"$job_select\", instance=~\"$instance\"}[5m])) by (instance) * 8 > 0" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "read - {{instance}}" ,
"refId" : "A"
} ,
{
2020-02-03 01:07:07 +01:00
"expr" : "sum(rate(vm_tcplistener_written_bytes_total{job=~\"$job_select\", instance=~\"$instance\"}[5m])) by (instance) * 8 > 0" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "write - {{instance}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Network usage ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-02-03 01:07:07 +01:00
"format" : "bps" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
"title" : "vmselect ($instance)" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-07-17 01:18:03 +02:00
"datasource" : "$ds" ,
2019-11-07 11:09:27 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-05-19 10:57:20 +02:00
"y" : 48
2019-11-07 11:09:27 +01:00
} ,
"id" : 40 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$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)" ,
2020-07-22 11:43:23 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-07-22 11:43:23 +02:00
"y" : 49
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 97 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_http_requests_total{job=~\"$job_insert\", instance=~\"$instance.*\", path!~\"/favicon.ico\"}[5m])) by (path) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Requests rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Shows how many ongoing insertions are taking place.\n* `max` - equal to number of CPU * 4 by default. May be configured with `maxConcurrentInserts` flag\n* `current` - current number of goroutines busy with processing requests\n\nWhen `current` hits `max` constantly, it means vminsert node is overloaded and require more CPU or higher limits." ,
2020-07-22 11:43:23 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-07-22 11:43:23 +02:00
"y" : 49
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 99 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max" ,
2020-02-03 22:21:04 +01:00
"color" : "#C4162A" ,
"fill" : 0
2019-11-07 11:09:27 +01:00
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_concurrent_insert_current{job=\"$job_insert\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-01-30 00:48:36 +01:00
"legendFormat" : "current" ,
2019-11-07 11:09:27 +01:00
"refId" : "A"
} ,
{
"expr" : "sum(vm_concurrent_insert_capacity{job=\"$job_insert\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-01-30 00:48:36 +01:00
"legendFormat" : "max" ,
2019-11-07 11:09:27 +01:00
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Concurrent inserts ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "" ,
2020-07-22 11:43:23 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-07-22 11:43:23 +02:00
"y" : 57
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 90 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "/write.*/" ,
"transform" : "negative-Y"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-02-03 01:07:07 +01:00
"expr" : "sum(rate(vm_tcplistener_read_bytes_total{job=~\"$job_insert\", instance=~\"$instance\"}[5m])) by (instance) * 8 > 0" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "read - {{instance}}" ,
"refId" : "A"
} ,
{
2020-02-03 01:07:07 +01:00
"expr" : "sum(rate(vm_tcplistener_written_bytes_total{job=~\"$job_insert\", instance=~\"$instance\"}[5m])) by (instance) * 8 > 0" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "write - {{instance}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Network usage ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-02-03 01:07:07 +01:00
"format" : "bps" ,
2019-11-07 11:09:27 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "" ,
2020-07-22 11:43:23 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-11-07 11:09:27 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-07-22 11:43:23 +02:00
"y" : 57
2019-11-07 11:09:27 +01:00
} ,
2020-02-03 01:07:07 +01:00
"hiddenSeries" : false ,
2019-11-07 11:09:27 +01:00
"id" : 88 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-03-28 00:17:38 +01:00
"expr" : "histogram_quantile(0.99, sum(increase(vm_rows_per_insert_bucket{job=~\"$job\", instance=~\"$instance\"}[5m])) by (instance, vmrange))" ,
2019-11-07 11:09:27 +01:00
"format" : "time_series" ,
2020-03-28 00:17:38 +01:00
"interval" : "" ,
2019-11-07 11:09:27 +01:00
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Rows per insert ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 10:57:20 +02:00
"decimals" : 2 ,
2019-11-07 11:09:27 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
2020-05-19 10:57:20 +02:00
"show" : true
2019-11-07 11:09:27 +01:00
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2020-07-22 11:43:23 +02:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$ds" ,
"description" : "Shows the number of insert requests processed concurrently and concurrency limit.\n\n* `max` - controller by `-maxConcurrentInserts`\n* `current` - current number of goroutines busy with processing insert 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\n" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 65
} ,
"hiddenSeries" : false ,
"id" : 4 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [
{
"targetBlank" : true ,
"title" : "Github discussion #1" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/issues/632#issuecomment-659717922"
} ,
{
"targetBlank" : true ,
"title" : "Github discussion #2" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/issues/618#issuecomment-658048293"
}
] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max" ,
"color" : "#C4162A" ,
"fill" : 0
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_concurrent_insert_capacity{job=\"$job_insert\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "max" ,
"refId" : "A"
} ,
{
"expr" : "sum(vm_concurrent_insert_current{job=\"$job_insert\", instance=~\"$instance\"})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "current" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Concurrent inserts ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-07 11:09:27 +01:00
}
] ,
"title" : "vminsert ($instance)" ,
"type" : "row"
}
] ,
2020-06-12 21:07:28 +02:00
"schemaVersion" : 25 ,
2019-11-07 11:09:27 +01:00
"style" : "dark" ,
"tags" : [ ] ,
"templating" : {
"list" : [
{
"current" : {
2020-06-12 21:07:28 +02:00
"selected" : false ,
2020-03-28 00:17:38 +01:00
"text" : "VictoriaMetrics" ,
"value" : "VictoriaMetrics"
2019-11-07 11:09:27 +01:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"allValue" : null ,
2019-11-11 23:23:24 +01:00
"current" : { } ,
2019-11-07 11:09:27 +01:00
"datasource" : "$ds" ,
"definition" : "label_values(vm_app_version{version=~\"^vminsert.*\"}, job)" ,
"hide" : 2 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "job_insert" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version{version=~\"^vminsert.*\"}, job)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
2019-11-11 23:23:24 +01:00
"current" : { } ,
2019-11-07 11:09:27 +01:00
"datasource" : "$ds" ,
"definition" : "label_values(vm_app_version{version=~\"^vmselect.*\"}, job)" ,
"hide" : 2 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "job_select" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version{version=~\"^vmselect.*\"}, job)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
2019-11-11 23:23:24 +01:00
"current" : { } ,
2019-11-07 11:09:27 +01:00
"datasource" : "$ds" ,
"definition" : "label_values(vm_app_version{version=~\"^vmstorage.*\"}, job)" ,
"hide" : 2 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "job_storage" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version{version=~\"^vmstorage.*\"}, job)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
2019-11-11 23:23:24 +01:00
"current" : { } ,
2019-11-07 11:09:27 +01:00
"datasource" : "$ds" ,
2020-07-17 01:18:03 +02:00
"definition" : "label_values(vm_app_version{version=~\"^vm(insert|select|storage).*\"}, job)" ,
2019-11-07 11:09:27 +01:00
"hide" : 0 ,
"includeAll" : true ,
"label" : null ,
"multi" : true ,
"name" : "job" ,
"options" : [ ] ,
2020-07-17 01:18:03 +02:00
"query" : "label_values(vm_app_version{version=~\"^vm(insert|select|storage).*\"}, job)" ,
2019-11-07 11:09:27 +01:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2019-11-11 23:23:24 +01:00
"current" : { } ,
2019-11-07 11:09:27 +01:00
"datasource" : "$ds" ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
"includeAll" : true ,
"label" : null ,
"multi" : true ,
"name" : "instance" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "label_values(vm_app_version{job=\"$tag\"}, instance)" ,
"tags" : [
2020-06-12 21:07:28 +02:00
{
"selected" : false ,
"text" : "vmselect"
} ,
{
"selected" : false ,
"text" : "vmstorage"
} ,
2020-07-17 01:18:03 +02:00
{
"selected" : false ,
"text" : "vmagent"
} ,
2020-06-12 21:07:28 +02:00
{
"selected" : false ,
"text" : "vminsert"
}
2019-11-07 11:09:27 +01:00
] ,
"tagsQuery" : "label_values(vm_app_version, job)" ,
"type" : "query" ,
"useTags" : true
}
]
} ,
"time" : {
2020-05-19 10:57:20 +02:00
"from" : "now-30m" ,
2019-11-07 11:09:27 +01:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
]
} ,
"timezone" : "" ,
"title" : "VictoriaMetrics - cluster" ,
"uid" : "oS7Bi_0Wz" ,
2020-06-12 21:07:28 +02:00
"version" : 1
2020-05-19 10:57:20 +02:00
}