2019-06-02 23:25:07 +02:00
{
2020-06-29 21:05:34 +02:00
"__inputs" : [ ] ,
2019-06-02 23:25:07 +02:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2020-09-02 14:16:40 +02:00
"version" : "7.1.1"
2019-06-02 23:25:07 +02:00
} ,
{
"type" : "panel" ,
"id" : "graph" ,
"name" : "Graph" ,
2019-06-07 00:31:45 +02:00
"version" : ""
2019-06-02 23:25:07 +02:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
2019-06-07 00:31:45 +02:00
"version" : "1.0.0"
2019-06-02 23:25:07 +02:00
} ,
{
"type" : "panel" ,
"id" : "singlestat" ,
"name" : "Singlestat" ,
2019-06-07 00:31:45 +02:00
"version" : ""
2019-06-02 23:25:07 +02:00
} ,
{
"type" : "panel" ,
2020-06-12 21:05:05 +02:00
"id" : "table-old" ,
"name" : "Table (old)" ,
2019-06-07 00:31:45 +02:00
"version" : ""
2019-06-02 23:25:07 +02:00
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
2020-09-02 14:16:40 +02:00
"version" : "7.1.0"
2019-06-02 23:25:07 +02:00
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : "-- Grafana --" ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
}
]
} ,
2020-09-02 14:16:40 +02:00
"description" : "Overview for single node VictoriaMetrics v1.40.0 or higher" ,
2019-06-02 23:25:07 +02:00
"editable" : true ,
"gnetId" : 10229 ,
"graphTooltip" : 0 ,
"id" : null ,
2020-09-02 14:16:40 +02:00
"iteration" : 1599034965731 ,
2019-06-02 23:25:07 +02:00
"links" : [
{
"icon" : "doc" ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Single server Wiki" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/wiki/Single-server-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" ,
"tooltip" : "" ,
"type" : "link" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
"panels" : [
{
"collapsed" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 6 ,
"panels" : [ ] ,
"title" : "Configuration" ,
"type" : "row"
} ,
{
"content" : "<div style=\"text-align: center; font-size: 2em\">$version</div>" ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"description" : "" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
2019-06-07 00:31:45 +02:00
"h" : 3 ,
2019-06-02 23:25:07 +02:00
"w" : 8 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 2 ,
"links" : [
{
"targetBlank" : true ,
"title" : "VictoriaMetrics releases" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
"mode" : "html" ,
2020-09-02 14:16:40 +02:00
"options" : {
"content" : "<div style=\"text-align: center; font-size: 2em\">$version</div>" ,
"mode" : "html"
} ,
"pluginVersion" : "7.1.0" ,
2019-06-02 23:25:07 +02:00
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Version" ,
"type" : "text"
} ,
{
"columns" : [ ] ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"description" : "Run VM with `-help` flag to see all the available flags with description and default values" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"fontSize" : "100%" ,
"gridPos" : {
2019-06-07 00:31:45 +02:00
"h" : 9 ,
2019-06-02 23:25:07 +02:00
"w" : 16 ,
"x" : 8 ,
"y" : 1
} ,
"id" : 4 ,
"links" : [ ] ,
"pageSize" : null ,
"scroll" : true ,
"showHeader" : true ,
"sort" : {
"col" : 4 ,
"desc" : true
} ,
"styles" : [
{
"alias" : "" ,
2020-03-28 00:24:39 +01:00
"align" : "auto" ,
2019-06-02 23:25:07 +02:00
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"decimals" : 2 ,
"pattern" : "name" ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
} ,
{
"alias" : "" ,
2020-03-28 00:24:39 +01:00
"align" : "auto" ,
2019-06-02 23:25:07 +02: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" : "value" ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
} ,
{
"alias" : "" ,
2020-03-28 00:24:39 +01:00
"align" : "auto" ,
2019-06-02 23:25:07 +02: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:24:39 +01:00
"pattern" : "/.*/" ,
2019-06-02 23:25:07 +02:00
"thresholds" : [ ] ,
"type" : "hidden" ,
"unit" : "short"
}
] ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "flag{job=\"$job\", instance=~\"$instance\", value!=\"secret\", value!=\"\"}" ,
2019-06-02 23:25:07 +02:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Flags" ,
"transform" : "table" ,
2020-06-12 21:05:05 +02:00
"type" : "table-old"
2019-06-02 23:25:07 +02:00
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"description" : "How many datapoints are in storage" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"format" : "short" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 8 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 4
2019-06-02 23:25:07 +02:00
} ,
"id" : 26 ,
"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-09-02 14:16:40 +02:00
"expr" : "sum(vm_rows{job=\"$job\", instance=~\"$instance\", type!=\"indexdb\"})" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"instant" : false ,
"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"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"description" : "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality)." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"format" : "short" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 8 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 6
2019-06-02 23:25:07 +02:00
} ,
"id" : 38 ,
"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-09-02 14:16:40 +02:00
"expr" : "sum(vm_rows{job=\"$job\", instance=~\"$instance\", type=\"indexdb\"})" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"instant" : false ,
"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"
] ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"format" : "s" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 8 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 8
2019-06-02 23:25:07 +02:00
} ,
"id" : 8 ,
"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" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
2020-06-12 21:05:05 +02:00
"tableColumn" : "vm_app_uptime_seconds{instance=\"victoriametrics:8428\", job=\"victoriametrics\"}" ,
2019-06-02 23:25:07 +02:00
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "vm_app_uptime_seconds{job=\"$job\", instance=\"$instance\"}" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : "" ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Uptime" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"collapsed" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 10
2019-06-02 23:25:07 +02:00
} ,
"id" : 24 ,
"panels" : [ ] ,
"title" : "Performance" ,
"type" : "row"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +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:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 11
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-06-02 23:25:07 +02:00
"id" : 12 ,
"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" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2019-06-02 23:25:07 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_http_requests_total{job=\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__interval])) by (path) > 0" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
2020-09-02 14:16:40 +02:00
"interval" : "" ,
2019-06-02 23:25:07 +02:00
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Requests rate ($instance)" ,
2019-06-02 23:25:07 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"description" : "The less time it takes is better.\n* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2019-06-07 00:31:45 +02:00
"y" : 11
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-06-02 23:25:07 +02:00
"id" : 22 ,
"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" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2019-06-02 23:25:07 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "max(vm_request_duration_seconds{job=\"$job\", instance=~\"$instance\", quantile=~\"(0.5|0.99)\"}) by (path, quantile) > 0" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{quantile}} ({{path}})" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Query duration ($instance)" ,
2019-06-02 23:25:07 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-07-04 21:15:24 +02:00
"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:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 19
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-07-04 21:15:24 +02:00
"id" : 51 ,
2019-06-02 23:25:07 +02:00
"legend" : {
2019-07-04 21:15:24 +02:00
"avg" : false ,
"current" : false ,
2019-06-02 23:25:07 +02:00
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
2019-07-04 21:15:24 +02:00
"values" : false
2019-06-02 23:25:07 +02:00
} ,
"lines" : true ,
"linewidth" : 1 ,
2019-07-04 21:15:24 +02:00
"links" : [
{
"targetBlank" : true ,
"title" : "troubleshooting" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#troubleshooting"
}
] ,
"nullPointMode" : "null" ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2019-06-02 23:25:07 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "vm_cache_entries{job=\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2019-07-04 21:15:24 +02:00
"legendFormat" : "Active time series" ,
2019-06-02 23:25:07 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Active time series ($instance)" ,
2019-06-02 23:25:07 +02:00
"tooltip" : {
"shared" : true ,
2019-07-04 21:15:24 +02:00
"sort" : 0 ,
2019-06-02 23:25:07 +02: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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"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." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2019-06-07 00:31:45 +02:00
"y" : 19
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-06-02 23:25:07 +02:00
"id" : 33 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2019-06-02 23:25:07 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max allowed" ,
"color" : "#C4162A"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_cache_size_bytes{job=\"$job\", instance=\"$instance\"})" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "size" ,
"refId" : "A"
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "max(vm_allowed_memory_bytes{job=\"$job\", instance=\"$instance\"})" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "max allowed" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Cache size ($instance)" ,
2019-06-02 23:25:07 +02: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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-06-02 23:25:07 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "Shows how many ongoing insertions are taking place.\n* `max` - equal to number of CPU * 2\n* `current` - current number of goroutines busy with inserting rows into storage\n\nWhen `current` hits `max` constantly, it means storage is overloaded and require more CPU." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-06-07 00:31:45 +02:00
"y" : 27
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2020-05-19 10:51:02 +02:00
"id" : 59 ,
2019-07-04 21:15:24 +02:00
"legend" : {
2020-05-19 10:51:02 +02:00
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
2019-07-04 21:15:24 +02:00
"max" : false ,
"min" : false ,
"show" : true ,
2020-05-19 10:51:02 +02:00
"sort" : "current" ,
"sortDesc" : true ,
2019-07-04 21:15:24 +02:00
"total" : false ,
2020-05-19 10:51:02 +02:00
"values" : true
2019-07-04 21:15:24 +02:00
} ,
"lines" : true ,
"linewidth" : 1 ,
2020-05-19 10:51:02 +02:00
"links" : [ ] ,
2019-11-11 23:14:53 +01:00
"nullPointMode" : "null" ,
2019-07-04 21:15:24 +02:00
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2019-07-04 21:15:24 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2020-05-19 10:51:02 +02:00
"seriesOverrides" : [
{
"alias" : "max" ,
"color" : "#C4162A"
}
] ,
2019-07-04 21:15:24 +02:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_concurrent_addrows_capacity{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "max" ,
2019-07-04 21:15:24 +02:00
"refId" : "A"
2020-05-19 10:51:02 +02:00
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_concurrent_addrows_current{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "current" ,
"refId" : "B"
2019-07-04 21:15:24 +02:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Concurrent inserts ($instance)" ,
2019-07-04 21:15:24 +02:00
"tooltip" : {
"shared" : true ,
2020-05-19 10:51:02 +02:00
"sort" : 2 ,
2019-07-04 21:15:24 +02:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 10:51:02 +02:00
"decimals" : 0 ,
2019-07-04 21:15:24 +02:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-07-04 21:15:24 +02:00
"show" : true
} ,
{
2020-05-19 10:51:02 +02:00
"decimals" : 0 ,
2019-07-04 21:15:24 +02:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-07-04 21:15:24 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-11-11 23:14:53 +01: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:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2019-07-04 21:15:24 +02:00
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-07-04 21:15:24 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-11 23:14:53 +01:00
"id" : 35 ,
2019-10-28 12:54:10 +01:00
"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" : [ ] ,
2019-11-11 23:14:53 +01:00
"nullPointMode" : "null as zero" ,
2019-10-28 12:54:10 +01:00
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2019-10-28 12:54:10 +01:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2019-11-11 23:14:53 +01:00
"seriesOverrides" : [ ] ,
2019-10-28 12:54:10 +01:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_http_request_errors_total{job=\"$job\", instance=\"$instance\"}[$__interval])) by (path) > 0" ,
2019-10-28 12:54:10 +01:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2019-11-11 23:14:53 +01:00
"legendFormat" : "{{path}}" ,
2019-10-28 12:54:10 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Requests error rate ($instance)" ,
2019-10-28 12:54:10 +01:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-10-28 12:54:10 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2019-10-28 12:54:10 +01:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
2020-05-19 10:51:02 +02:00
"collapsed" : true ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-10-28 12:54:10 +01:00
"gridPos" : {
2020-05-19 10:51:02 +02:00
"h" : 1 ,
"w" : 24 ,
2019-10-28 12:54:10 +01:00
"x" : 0 ,
"y" : 35
} ,
2020-05-19 10:51:02 +02:00
"id" : 14 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "How many datapoints are inserted into storage per second" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 36
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 10 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2020-09-02 14:16:40 +02:00
"seriesOverrides" : [ ] ,
2020-05-19 10:51:02 +02:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_rows_inserted_total{job=\"$job\", instance=\"$instance\"}[$__interval])) by (type) > 0" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Datapoints ingestion rate ($instance)" ,
2020-05-19 10:51:02 +02:00
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-06-02 23:25:07 +02:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "How many datapoints are in RAM queue waiting to be written into storage. The number of pending data points should be in the range from 0 to `2*<ingestion_rate>`, since VictoriaMetrics pushes pending data to persistent storage every second." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 36
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 34 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "pending index entries" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "vm_pending_rows{job=\"$job\", instance=~\"$instance\", type=\"storage\"}" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending datapoints" ,
"refId" : "A"
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "vm_pending_rows{job=\"$job\", instance=~\"$instance\", type=\"indexdb\"}" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending index entries" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Pending datapoints ($instance)" ,
2020-05-19 10:51:02 +02: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-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"decimals" : 3 ,
"format" : "none" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-06-02 23:25:07 +02:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "Shows how many datapoints are in the storage and what is average disk usage per datapoint." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 44
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 30 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "bytes-per-datapoint" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_rows{job=\"$job\", instance=~\"$instance\", type != \"indexdb\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "total datapoints" ,
"refId" : "A"
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_data_size_bytes{job=\"$job\", instance=~\"$instance\", type!=\"indexdb\"}) / sum(vm_rows{job=\"$job\", instance=~\"$instance\", type != \"indexdb\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "bytes-per-datapoint" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Datapoints ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"decimals" : 2 ,
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-06-02 23:25:07 +02:00
} ,
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"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:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 44
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 36 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_parts{job=\"$job\", instance=\"$instance\"}) by (type)" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "LSM parts ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "Shows amount of on-disk space occupied by data points and the remaining disk space at `-storageDataPath`" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 52
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 53 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : true ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_data_size_bytes{job=\"$job\", instance=~\"$instance\", type!=\"indexdb\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Used" ,
"refId" : "A"
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "vm_free_disk_space_bytes{job=\"$job\", instance=\"$instance\"}" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Free" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Disk space usage - datapoints ($instance)" ,
2020-05-19 10:51:02 +02: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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "Shows amount of on-disk space occupied by inverted index." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 52
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 55 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "vm_data_size_bytes{job=\"$job\", instance=~\"$instance\", type=\"indexdb\"}" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Disk space usage - index ($instance)" ,
2020-05-19 10:51:02 +02: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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"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:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 60
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 62 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_active_merges{job=\"$job\", instance=\"$instance\"}) by(type)" ,
2020-05-19 10:51:02 +02:00
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Active merges ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "The number of rows merged per second by storage nodes." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 60
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 64 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_rows_merged_total{job=\"$job\", instance=\"$instance\"}[5m])) by(type)" ,
2020-05-19 10:51:02 +02:00
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Merge speed ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 68
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 58 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_rows_ignored_total{job=\"$job\", instance=\"$instance\"}) by (reason) > 0" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{reason}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Rows ignored ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"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:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 68
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 67 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_log_messages_total{job=\"$job\", instance=\"$instance\"}[5m])) by (level) " ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{level}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Logging rate ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-06-02 23:25:07 +02:00
}
] ,
2020-05-19 10:51:02 +02:00
"title" : "Storage" ,
"type" : "row"
2019-06-02 23:25:07 +02:00
} ,
{
2020-05-19 10:51:02 +02:00
"collapsed" : true ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
2020-05-19 10:51:02 +02:00
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 36
} ,
"id" : 71 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +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" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 21:05:05 +02:00
"y" : 4
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 66 ,
"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-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_new_timeseries_created_total{job=\"$job\", instance=\"$instance\"}[5m]))" ,
2020-05-19 10:51:02 +02:00
"legendFormat" : "churn rate" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Churn rate ($instance)" ,
2020-05-19 10:51:02 +02: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-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-11 23:14:53 +01:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 23:48:45 +02:00
"description" : "Slow queries rate according to `search.logSlowQueryDuration` flag, which is `5s` by default." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 21:05:05 +02:00
"y" : 4
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 60 ,
"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-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_slow_queries_total{job=\"$job\", instance=\"$instance\"}[5m]))" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "slow queries rate" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Slow queries rate ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-11 23:14:53 +01:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 23:48:45 +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." ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
2020-05-19 23:48:45 +02:00
"w" : 24 ,
2020-05-19 10:51:02 +02:00
"x" : 0 ,
2020-06-12 21:05:05 +02:00
"y" : 12
2020-05-19 10:51:02 +02:00
} ,
"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" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_slow_row_inserts_total{job=\"$job\", instance=\"$instance\"}[5m])) / sum(rate(vm_rows_inserted_total{job=\"$job\", instance=\"$instance\"}[5m]))" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2020-05-19 23:48:45 +02:00
"legendFormat" : "slow inserts percentage" ,
2020-05-19 10:51:02 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Slow inserts ($instance)" ,
2020-05-19 10:51:02 +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:48:45 +02:00
"decimals" : 2 ,
"format" : "percentunit" ,
2020-05-19 10:51:02 +02:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-11 23:14:53 +01:00
}
] ,
2020-05-19 10:51:02 +02:00
"title" : "Troubleshooting" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 37
2019-11-11 23:14:53 +01:00
} ,
2020-05-19 10:51:02 +02:00
"id" : 46 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 78
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 44 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(go_memstats_sys_bytes{job=\"$job\", instance=\"$instance\"}) + sum(vm_cache_size_bytes{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "requested from system" ,
"refId" : "A"
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(go_memstats_heap_inuse_bytes{job=\"$job\", instance=\"$instance\"}) + sum(vm_cache_size_bytes{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "heap inuse" ,
"refId" : "B"
} ,
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(go_memstats_stack_inuse_bytes{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "stack inuse" ,
"refId" : "C"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Memory usage ($instance)" ,
2020-05-19 10:51:02 +02: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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-11 23:14:53 +01:00
} ,
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 78
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 57 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "rate(process_cpu_seconds_total{job=\"$job\", instance=\"$instance\"}[5m])" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "CPU cores used" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "CPU ($instance)" ,
2020-05-19 10:51:02 +02: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-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-06-02 23:25:07 +02:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 86
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 47 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(go_goroutines{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "gc duration" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Goroutines ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-06-02 23:25:07 +02:00
} ,
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 86
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 42 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(go_gc_duration_seconds_sum{job=\"$job\", instance=\"$instance\"}[2m]))" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "gc duration" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "GC duration ($instance)" ,
2020-05-19 10:51:02 +02:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-08 20:20:38 +01:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 94
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 48 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(process_num_threads{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "threads" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "Threads ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-08 20:20:38 +01:00
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-09-02 14:16:40 +02:00
"y" : 94
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 37 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(vm_tcplistener_conns{job=\"$job\", instance=\"$instance\"})" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "connections" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "TCP connections ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-08 20:20:38 +01:00
} ,
{
2020-05-19 10:51:02 +02:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-05-19 10:51:02 +02:00
"description" : "" ,
2020-06-12 21:05:05 +02:00
"fieldConfig" : {
"defaults" : {
2020-09-02 14:16:40 +02:00
"custom" : { } ,
"links" : [ ]
2020-06-12 21:05:05 +02:00
} ,
"overrides" : [ ]
} ,
2020-05-19 10:51:02 +02:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-09-02 14:16:40 +02:00
"y" : 102
2020-05-19 10:51:02 +02:00
} ,
"hiddenSeries" : false ,
"id" : 49 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
2020-09-02 14:16:40 +02:00
"pluginVersion" : "7.1.1" ,
2020-05-19 10:51:02 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-09-02 14:16:40 +02:00
"expr" : "sum(rate(vm_tcplistener_accepts_total{job=\"$job\", instance=\"$instance\"}[$__interval]))" ,
2020-05-19 10:51:02 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "connections" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-09-02 14:16:40 +02:00
"title" : "TCP connections rate ($instance)" ,
2020-05-19 10:51:02 +02:00
"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 ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-09-01 20:56:56 +02:00
"min" : "0" ,
2020-05-19 10:51:02 +02:00
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-08 20:20:38 +01:00
}
] ,
2020-05-19 10:51:02 +02:00
"title" : "Resource usage" ,
2019-06-02 23:25:07 +02:00
"type" : "row"
}
] ,
"refresh" : "30s" ,
2020-09-02 14:16:40 +02:00
"schemaVersion" : 26 ,
2019-06-02 23:25:07 +02:00
"style" : "dark" ,
"tags" : [ ] ,
"templating" : {
"list" : [
2020-06-12 21:05:05 +02:00
{
"current" : {
2020-06-29 21:05:34 +02:00
"selected" : false ,
"text" : "VictoriaMetrics" ,
"value" : "VictoriaMetrics"
2020-06-12 21:05:05 +02:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
2020-09-02 14:16:40 +02:00
"name" : "ds" ,
2020-06-12 21:05:05 +02:00
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
2019-06-02 23:25:07 +02:00
{
"allValue" : null ,
"current" : { } ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
2020-06-29 21:05:34 +02:00
"definition" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
2019-06-02 23:25:07 +02:00
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
2020-06-29 21:05:34 +02:00
"query" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
2019-06-02 23:25:07 +02:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : { } ,
2020-09-02 14:16:40 +02:00
"datasource" : "$ds" ,
"definition" : "label_values(vm_app_version{job=\"$job\", instance=\"$instance\"}, version)" ,
2019-06-02 23:25:07 +02:00
"hide" : 2 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "version" ,
"options" : [ ] ,
2020-09-02 14:16:40 +02:00
"query" : "label_values(vm_app_version{job=\"$job\", instance=\"$instance\"}, version)" ,
2019-06-02 23:25:07 +02:00
"refresh" : 1 ,
"regex" : "/.*-tags-(v\\d+\\.\\d+\\.\\d+)/" ,
"skipUrlSync" : false ,
"sort" : 2 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
2020-09-02 14:16:40 +02:00
} ,
{
"allValue" : null ,
"current" : { } ,
"datasource" : "$ds" ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "instance" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
2019-06-02 23:25:07 +02:00
}
]
} ,
"time" : {
2020-02-03 01:09:53 +01:00
"from" : "now-30m" ,
2019-06-02 23:25:07 +02:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "" ,
"title" : "VictoriaMetrics" ,
"uid" : "wNf0q_kZk" ,
2020-06-29 21:05:34 +02:00
"version" : 1
2020-09-01 20:56:56 +02:00
}