2019-06-02 21:25:07 +00:00
{
2020-06-29 19:05:34 +00:00
"__inputs" : [ ] ,
2019-06-02 21:25:07 +00:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2020-06-29 19:05:34 +00:00
"version" : "7.0.3"
2019-06-02 21:25:07 +00:00
} ,
{
"type" : "panel" ,
"id" : "graph" ,
"name" : "Graph" ,
2019-06-06 22:31:45 +00:00
"version" : ""
2019-06-02 21:25:07 +00:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
2019-06-06 22:31:45 +00:00
"version" : "1.0.0"
2019-06-02 21:25:07 +00:00
} ,
{
"type" : "panel" ,
"id" : "singlestat" ,
"name" : "Singlestat" ,
2019-06-06 22:31:45 +00:00
"version" : ""
2019-06-02 21:25:07 +00:00
} ,
{
"type" : "panel" ,
2020-06-12 19:05:05 +00:00
"id" : "table-old" ,
"name" : "Table (old)" ,
2019-06-06 22:31:45 +00:00
"version" : ""
2019-06-02 21:25:07 +00:00
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
2019-06-06 22:31:45 +00:00
"version" : ""
2019-06-02 21:25:07 +00: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 08:51:02 +00:00
"description" : "Overview for single node VictoriaMetrics v1.35.5 or higher" ,
2019-06-02 21:25:07 +00:00
"editable" : true ,
"gnetId" : 10229 ,
"graphTooltip" : 0 ,
"id" : null ,
2020-06-29 19:05:34 +00:00
"iteration" : 1593345560631 ,
2019-06-02 21:25:07 +00: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-06-29 19:05:34 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00: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-06-29 19:05:34 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"description" : "" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
2019-06-06 22:31:45 +00:00
"h" : 3 ,
2019-06-02 21:25:07 +00:00
"w" : 8 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 2 ,
"links" : [
{
"targetBlank" : true ,
"title" : "VictoriaMetrics releases" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
] ,
"mode" : "html" ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Version" ,
"type" : "text"
} ,
{
"columns" : [ ] ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"description" : "Run VM with `-help` flag to see all the available flags with description and default values" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"fontSize" : "100%" ,
"gridPos" : {
2019-06-06 22:31:45 +00:00
"h" : 9 ,
2019-06-02 21:25:07 +00: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-27 23:24:39 +00:00
"align" : "auto" ,
2019-06-02 21:25:07 +00: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-27 23:24:39 +00:00
"align" : "auto" ,
2019-06-02 21:25:07 +00: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-27 23:24:39 +00:00
"align" : "auto" ,
2019-06-02 21:25:07 +00: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-27 23:24:39 +00:00
"pattern" : "/.*/" ,
2019-06-02 21:25:07 +00:00
"thresholds" : [ ] ,
"type" : "hidden" ,
"unit" : "short"
}
] ,
"targets" : [
{
"expr" : "flag{job=\"$job\", value!=\"secret\", value!=\"\"}" ,
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Flags" ,
"transform" : "table" ,
2020-06-12 19:05:05 +00:00
"type" : "table-old"
2019-06-02 21:25:07 +00:00
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"description" : "How many datapoints are in storage" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"format" : "short" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 8 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 4
2019-06-02 21:25:07 +00: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" : [
{
"expr" : "sum(vm_rows{job=\"$job\", type!=\"indexdb\"})" ,
"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-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"description" : "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality)." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"format" : "short" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 8 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 6
2019-06-02 21:25:07 +00: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" : [
{
"expr" : "sum(vm_rows{job=\"$job\", type=\"indexdb\"})" ,
"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-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"format" : "s" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 2 ,
"w" : 8 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 8
2019-06-02 21:25:07 +00: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 19:05:05 +00:00
"tableColumn" : "vm_app_uptime_seconds{instance=\"victoriametrics:8428\", job=\"victoriametrics\"}" ,
2019-06-02 21:25:07 +00:00
"targets" : [
{
"expr" : "vm_app_uptime_seconds{job=\"$job\"}" ,
"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-06-29 19:05:34 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 10
2019-06-02 21:25:07 +00:00
} ,
"id" : 24 ,
"panels" : [ ] ,
"title" : "Performance" ,
"type" : "row"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"fill" : 1 ,
2019-10-28 11:54:10 +00:00
"fillGradient" : 0 ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 11
2019-06-02 21:25:07 +00:00
} ,
2019-12-09 11:05:59 +00:00
"hiddenSeries" : false ,
2019-06-02 21:25:07 +00: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" ,
2019-10-28 11:54:10 +00:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"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\", path!~\"/favicon.ico\"}[$__interval])) by (path) > 0" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{path}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Requests rate" ,
"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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"description" : "The less time it takes is better.\n* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"fill" : 1 ,
2019-10-28 11:54:10 +00:00
"fillGradient" : 0 ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2019-06-06 22:31:45 +00:00
"y" : 11
2019-06-02 21:25:07 +00:00
} ,
2019-12-09 11:05:59 +00:00
"hiddenSeries" : false ,
2019-06-02 21:25:07 +00: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" ,
2019-10-28 11:54:10 +00:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "max(vm_request_duration_seconds{job=\"$job\", 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" ,
"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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-07-04 19:15:24 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"fill" : 1 ,
2019-10-28 11:54:10 +00:00
"fillGradient" : 0 ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 19
2019-06-02 21:25:07 +00:00
} ,
2019-12-09 11:05:59 +00:00
"hiddenSeries" : false ,
2019-07-04 19:15:24 +00:00
"id" : 51 ,
2019-06-02 21:25:07 +00:00
"legend" : {
2019-07-04 19:15:24 +00:00
"avg" : false ,
"current" : false ,
2019-06-02 21:25:07 +00:00
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
2019-07-04 19:15:24 +00:00
"values" : false
2019-06-02 21:25:07 +00:00
} ,
"lines" : true ,
"linewidth" : 1 ,
2019-07-04 19:15:24 +00:00
"links" : [
{
"targetBlank" : true ,
"title" : "troubleshooting" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#troubleshooting"
}
] ,
"nullPointMode" : "null" ,
2019-10-28 11:54:10 +00:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-07-04 19:15:24 +00:00
"expr" : "vm_cache_entries{job=\"$job\", type=\"storage/hour_metric_ids\"}" ,
2019-06-02 21:25:07 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2019-07-04 19:15:24 +00:00
"legendFormat" : "Active time series" ,
2019-06-02 21:25:07 +00:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-07-04 19:15:24 +00:00
"title" : "Active time series" ,
2019-06-02 21:25:07 +00:00
"tooltip" : {
"shared" : true ,
2019-07-04 19:15:24 +00:00
"sort" : 0 ,
2019-06-02 21:25:07 +00: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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"fill" : 1 ,
2019-10-28 11:54:10 +00:00
"fillGradient" : 0 ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2019-06-06 22:31:45 +00:00
"y" : 19
2019-06-02 21:25:07 +00:00
} ,
2019-12-09 11:05:59 +00:00
"hiddenSeries" : false ,
2019-06-02 21:25:07 +00: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" ,
2019-10-28 11:54:10 +00:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max allowed" ,
"color" : "#C4162A"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_cache_size_bytes{job=\"$job\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "size" ,
"refId" : "A"
} ,
{
"expr" : "max(vm_allowed_memory_bytes{job=\"$job\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "max allowed" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Cache size" ,
"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" : 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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-06-02 21:25:07 +00:00
"fill" : 1 ,
2019-10-28 11:54:10 +00:00
"fillGradient" : 0 ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-06-06 22:31:45 +00:00
"y" : 27
2019-06-02 21:25:07 +00:00
} ,
2019-12-09 11:05:59 +00:00
"hiddenSeries" : false ,
2020-05-19 08:51:02 +00:00
"id" : 59 ,
2019-07-04 19:15:24 +00:00
"legend" : {
2020-05-19 08:51:02 +00:00
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
2019-07-04 19:15:24 +00:00
"max" : false ,
"min" : false ,
"show" : true ,
2020-05-19 08:51:02 +00:00
"sort" : "current" ,
"sortDesc" : true ,
2019-07-04 19:15:24 +00:00
"total" : false ,
2020-05-19 08:51:02 +00:00
"values" : true
2019-07-04 19:15:24 +00:00
} ,
"lines" : true ,
"linewidth" : 1 ,
2020-05-19 08:51:02 +00:00
"links" : [ ] ,
2019-11-11 22:14:53 +00:00
"nullPointMode" : "null" ,
2019-10-28 11:54:10 +00:00
"options" : {
"dataLinks" : [ ]
} ,
2019-07-04 19:15:24 +00:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2020-05-19 08:51:02 +00:00
"seriesOverrides" : [
{
"alias" : "max" ,
"color" : "#C4162A"
}
] ,
2019-07-04 19:15:24 +00:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-05-19 08:51:02 +00:00
"expr" : "sum(vm_concurrent_addrows_capacity{job=\"$job\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "max" ,
2019-07-04 19:15:24 +00:00
"refId" : "A"
2020-05-19 08:51:02 +00:00
} ,
{
"expr" : "sum(vm_concurrent_addrows_current{job=\"$job\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "current" ,
"refId" : "B"
2019-07-04 19:15:24 +00:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 08:51:02 +00:00
"title" : "Concurrent inserts" ,
2019-07-04 19:15:24 +00:00
"tooltip" : {
"shared" : true ,
2020-05-19 08:51:02 +00:00
"sort" : 2 ,
2019-07-04 19:15:24 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 08:51:02 +00:00
"decimals" : 0 ,
2019-07-04 19:15:24 +00:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
2020-05-19 08:51:02 +00:00
"decimals" : 0 ,
2019-07-04 19:15:24 +00: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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-11-11 22:14:53 +00:00
"description" : "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2019-07-04 19:15:24 +00:00
"fill" : 1 ,
2019-10-28 11:54:10 +00:00
"fillGradient" : 0 ,
2019-07-04 19:15:24 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
2019-12-09 11:05:59 +00:00
"hiddenSeries" : false ,
2019-11-11 22:14:53 +00:00
"id" : 35 ,
2019-10-28 11:54:10 +00: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 22:14:53 +00:00
"nullPointMode" : "null as zero" ,
2019-10-28 11:54:10 +00:00
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
2019-11-11 22:14:53 +00:00
"seriesOverrides" : [ ] ,
2019-10-28 11:54:10 +00:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-11 22:14:53 +00:00
"expr" : "sum(rate(vm_http_request_errors_total{job=\"$job\"}[$__interval])) by (path) > 0" ,
2019-10-28 11:54:10 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2019-11-11 22:14:53 +00:00
"legendFormat" : "{{path}}" ,
2019-10-28 11:54:10 +00:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-11 22:14:53 +00:00
"title" : "Requests error rate" ,
2019-10-28 11:54:10 +00: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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
2020-05-19 08:51:02 +00:00
"collapsed" : true ,
2020-06-29 19:05:34 +00:00
"datasource" : "$datasource" ,
2019-10-28 11:54:10 +00:00
"gridPos" : {
2020-05-19 08:51:02 +00:00
"h" : 1 ,
"w" : 24 ,
2019-10-28 11:54:10 +00:00
"x" : 0 ,
"y" : 35
} ,
2020-05-19 08:51:02 +00:00
"id" : 14 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "How many datapoints are inserted into storage per second" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 3
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "deleted" ,
"transform" : "negative-Y"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_rows_inserted_total{job=\"$job\"}[$__interval])) by (type) > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Datapoints ingestion rate" ,
"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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-06-02 21:25:07 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "How many datapoints are in RAM queue waiting to be written into storage. The number of pending data points should be in the range from 0 to `2*<ingestion_rate>`, since VictoriaMetrics pushes pending data to persistent storage every second." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 3
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "pending index entries" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "vm_pending_rows{job=\"$job\", type=\"storage\"}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending datapoints" ,
"refId" : "A"
} ,
{
"expr" : "vm_pending_rows{job=\"$job\", type=\"indexdb\"}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending index entries" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Pending datapoints" ,
"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
} ,
{
"decimals" : 3 ,
"format" : "none" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-06-02 21:25:07 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "Shows how many datapoints are in the storage and what is average disk usage per datapoint." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 11
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "bytes-per-datapoint" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_rows{job=\"$job\", type != \"indexdb\"})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "total datapoints" ,
"refId" : "A"
} ,
{
2020-06-12 19:05:05 +00:00
"expr" : "sum(vm_data_size_bytes{job=\"$job\", type!=\"indexdb\"}) / sum(vm_rows{job=\"$job\", type != \"indexdb\"})" ,
2020-05-19 08:51:02 +00:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "bytes-per-datapoint" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Datapoints" ,
"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
} ,
{
"decimals" : 2 ,
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-06-02 21:25:07 +00:00
} ,
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 11
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_parts{job=\"$job\"}) by (type)" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "LSM parts" ,
"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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "Shows amount of on-disk space occupied by data points and the remaining disk space at `-storageDataPath`" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 19
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_data_size_bytes{job=\"$job\", type!=\"indexdb\"})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Used" ,
"refId" : "A"
} ,
{
"expr" : "vm_free_disk_space_bytes{job=\"$job\"}" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Free" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Disk space usage (datapoints)" ,
"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" : 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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "Shows amount of on-disk space occupied by inverted index." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 19
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "vm_data_size_bytes{job=\"$job\", type=\"indexdb\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Disk space usage (index)" ,
"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" : 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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 27
} ,
"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" ,
"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\"}) by(type)" ,
"legendFormat" : "{{type}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Active merges" ,
"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 ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "The number of rows merged per second by storage nodes." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
"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" ,
"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\"}[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
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 35
} ,
"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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_rows_ignored_total{job=\"$job\"}) by (reason) > 0" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{reason}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Rows ignored" ,
"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
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 35
} ,
"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" ,
"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\"}[5m])) by (level) " ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{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
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-06-02 21:25:07 +00:00
}
] ,
2020-05-19 08:51:02 +00:00
"title" : "Storage" ,
"type" : "row"
2019-06-02 21:25:07 +00:00
} ,
{
2020-05-19 08:51:02 +00:00
"collapsed" : true ,
2020-06-29 19:05:34 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"gridPos" : {
2020-05-19 08:51:02 +00:00
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 36
} ,
"id" : 71 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00: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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 19:05:05 +00:00
"y" : 4
2020-05-19 08:51:02 +00: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" : [
{
"expr" : "sum(rate(vm_new_timeseries_created_total{job=\"$job\"}[5m]))" ,
"legendFormat" : "churn rate" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Churn rate" ,
"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-11 22:14:53 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 21:48:45 +00:00
"description" : "Slow queries rate according to `search.logSlowQueryDuration` flag, which is `5s` by default." ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 19:05:05 +00:00
"y" : 4
2020-05-19 08:51:02 +00: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" : [
{
"expr" : "sum(rate(vm_slow_queries_total{job=\"$job\"}[5m]))" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "slow queries rate" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2020-05-19 21:48:45 +00:00
"title" : "Slow queries rate" ,
2020-05-19 08:51:02 +00: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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-11 22:14:53 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 21:48:45 +00:00
"description" : "The percentage of slow inserts comparing to total insertion rate during the last 5 minutes. \n\nThe less value is better. If percentage remains high (>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 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
2020-05-19 21:48:45 +00:00
"w" : 24 ,
2020-05-19 08:51:02 +00:00
"x" : 0 ,
2020-06-12 19:05:05 +00:00
"y" : 12
2020-05-19 08:51:02 +00: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-05-19 21:48:45 +00:00
"expr" : "sum(rate(vm_slow_row_inserts_total{job=\"$job\"}[5m])) / sum(rate(vm_rows_inserted_total{job=\"$job\"}[5m]))" ,
2020-05-19 08:51:02 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
2020-05-19 21:48:45 +00:00
"legendFormat" : "slow inserts percentage" ,
2020-05-19 08:51:02 +00:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Slow inserts" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-05-19 21:48:45 +00:00
"decimals" : 2 ,
"format" : "percentunit" ,
2020-05-19 08:51:02 +00: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
}
2019-11-11 22:14:53 +00:00
}
] ,
2020-05-19 08:51:02 +00:00
"title" : "Troubleshooting" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2020-06-29 19:05:34 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 37
2019-11-11 22:14:53 +00:00
} ,
2020-05-19 08:51:02 +00:00
"id" : 46 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 19:05:05 +00:00
"y" : 5
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(go_memstats_sys_bytes{job=\"$job\"}) + sum(vm_cache_size_bytes{job=\"$job\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "requested from system" ,
"refId" : "A"
} ,
{
"expr" : "sum(go_memstats_heap_inuse_bytes{job=\"$job\"}) + sum(vm_cache_size_bytes{job=\"$job\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "heap inuse" ,
"refId" : "B"
} ,
{
"expr" : "sum(go_memstats_stack_inuse_bytes{job=\"$job\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "stack inuse" ,
"refId" : "C"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Memory usage" ,
"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
}
2019-11-11 22:14:53 +00:00
} ,
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 19:05:05 +00:00
"y" : 5
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "rate(process_cpu_seconds_total{job=\"$job\"}[5m])" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "CPU cores used" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "CPU" ,
"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-06-02 21:25:07 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 19:05:05 +00:00
"y" : 13
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(go_goroutines{job=\"$job\"})" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "gc duration" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Goroutines" ,
"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-06-02 21:25:07 +00:00
} ,
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 19:05:05 +00:00
"y" : 13
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(go_gc_duration_seconds_sum{job=\"$job\"}[2m]))" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "gc duration" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "GC duration" ,
"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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2019-11-08 19:20:38 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 19:05:05 +00:00
"y" : 21
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(process_num_threads{job=\"$job\"})" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "threads" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Threads" ,
"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-08 19:20:38 +00:00
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2020-06-12 19:05:05 +00:00
"y" : 21
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_tcplistener_conns{job=\"$job\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "connections" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "TCP connections" ,
"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
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-08 19:20:38 +00:00
} ,
{
2020-05-19 08:51:02 +00:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-05-19 08:51:02 +00:00
"description" : "" ,
2020-06-12 19:05:05 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2020-05-19 08:51:02 +00:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2020-06-12 19:05:05 +00:00
"y" : 29
2020-05-19 08:51:02 +00: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" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(vm_tcplistener_accepts_total{job=\"$job\"}[$__interval]))" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "connections" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "TCP connections 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
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2019-11-08 19:20:38 +00:00
}
] ,
2020-05-19 08:51:02 +00:00
"title" : "Resource usage" ,
2019-06-02 21:25:07 +00:00
"type" : "row"
}
] ,
"refresh" : "30s" ,
2020-06-12 19:05:05 +00:00
"schemaVersion" : 25 ,
2019-06-02 21:25:07 +00:00
"style" : "dark" ,
"tags" : [ ] ,
"templating" : {
"list" : [
2020-06-12 19:05:05 +00:00
{
"current" : {
2020-06-29 19:05:34 +00:00
"selected" : false ,
"text" : "VictoriaMetrics" ,
"value" : "VictoriaMetrics"
2020-06-12 19:05:05 +00:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "datasource" ,
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
2019-06-02 21:25:07 +00:00
{
"allValue" : null ,
"current" : { } ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2020-06-29 19:05:34 +00:00
"definition" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
2019-06-02 21:25:07 +00:00
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
2020-06-29 19:05:34 +00:00
"query" : "label_values(vm_app_version{version=~\"victoria-metrics-.*\"}, job)" ,
2019-06-02 21:25:07 +00:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : { } ,
2020-06-12 19:05:05 +00:00
"datasource" : "$datasource" ,
2019-06-02 21:25:07 +00:00
"definition" : "label_values(vm_app_version{job=\"$job\"}, version)" ,
"hide" : 2 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "version" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version{job=\"$job\"}, version)" ,
"refresh" : 1 ,
"regex" : "/.*-tags-(v\\d+\\.\\d+\\.\\d+)/" ,
"skipUrlSync" : false ,
"sort" : 2 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
2020-02-03 00:09:53 +00:00
"from" : "now-30m" ,
2019-06-02 21:25:07 +00: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 19:05:34 +00:00
"version" : 1
2019-11-08 19:20:38 +00:00
}