2019-06-02 23:25:07 +02:00
{
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
"label" : "Prometheus" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2020-02-03 01:09:53 +01:00
"version" : "6.5.2"
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" ,
"id" : "table" ,
"name" : "Table" ,
2019-06-07 00:31:45 +02:00
"version" : ""
2019-06-02 23:25:07 +02:00
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
2019-06-07 00:31:45 +02:00
"version" : ""
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-02-03 01:09:53 +01:00
"description" : "Overview for single node VictoriaMetrics v1.32.8 or higher" ,
2019-06-02 23:25:07 +02:00
"editable" : true ,
"gnetId" : 10229 ,
"graphTooltip" : 0 ,
"id" : null ,
2020-02-03 01:09:53 +01:00
"iteration" : 1580634216692 ,
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 ,
2019-11-08 20:20:38 +01:00
"datasource" : "${DS_PROMETHEUS}" ,
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>" ,
2019-11-08 20:20:38 +01:00
"datasource" : "${DS_PROMETHEUS}" ,
2019-06-02 23:25:07 +02:00
"description" : "" ,
"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" ,
2019-06-07 00:31:45 +02:00
"options" : { } ,
2019-06-02 23:25:07 +02:00
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Version" ,
"type" : "text"
} ,
{
"columns" : [ ] ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "Run VM with `-help` flag to see all the available flags with description and default values" ,
"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" : [ ] ,
2019-06-07 00:31:45 +02:00
"options" : { } ,
2019-06-02 23:25:07 +02:00
"pageSize" : null ,
"scroll" : true ,
"showHeader" : true ,
"sort" : {
"col" : 4 ,
"desc" : true
} ,
"styles" : [
{
"alias" : "" ,
"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" : "" ,
"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" : "" ,
"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" : ".*" ,
"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" ,
"type" : "table"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "How many datapoints are in storage" ,
"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 ,
2019-06-07 00:31:45 +02:00
"options" : { } ,
2019-06-02 23:25:07 +02:00
"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"
] ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality)." ,
"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 ,
2019-06-07 00:31:45 +02:00
"options" : { } ,
2019-06-02 23:25:07 +02:00
"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"
] ,
"datasource" : "${DS_PROMETHEUS}" ,
"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 ,
2019-06-07 00:31:45 +02:00
"options" : { } ,
2019-06-02 23:25:07 +02:00
"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
} ,
"tableColumn" : "" ,
"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 ,
2019-11-08 20:20:38 +01:00
"datasource" : "${DS_PROMETHEUS}" ,
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 ,
"datasource" : "${DS_PROMETHEUS}" ,
"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)" ,
"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" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02: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 ,
"datasource" : "${DS_PROMETHEUS}" ,
"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)" ,
"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" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02: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 ,
"datasource" : "${DS_PROMETHEUS}" ,
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:" ,
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-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-07-04 21:15:24 +02:00
"expr" : "vm_cache_entries{job=\"$job\", 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 ,
2019-07-04 21:15:24 +02:00
"title" : "Active time series" ,
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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "VictoriaMetrics stores various caches in RAM. Memory size for these caches may be limited with -`memory.allowedPercent` flag. Line `max allowed` shows max allowed memory size for cache." ,
"fill" : 1 ,
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" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02: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 ,
"datasource" : "${DS_PROMETHEUS}" ,
2019-11-11 23:14:53 +01:00
"description" : "Shows how many of new time-series are created every second. High churn rate tightly connected with database performance and may result in unexpected OOM's or slow queries. It is recommended to always keep an eye on this metric to avoid unexpected cardinality \"explosions\".\n\nGood references to read:\n* https://www.robustperception.io/cardinality-is-key\n* https://www.robustperception.io/using-tsdb-analyze-to-investigate-churn-and-cardinality" ,
2019-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 ,
2019-11-11 23:14:53 +01:00
"id" : 66 ,
2019-07-04 21:15:24 +02:00
"legend" : {
2019-11-11 23:14:53 +01:00
"avg" : false ,
"current" : false ,
2019-07-04 21:15:24 +02:00
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
2019-11-11 23:14:53 +01:00
"values" : false
2019-07-04 21:15:24 +02:00
} ,
"lines" : true ,
"linewidth" : 1 ,
2019-11-11 23:14:53 +01:00
"nullPointMode" : "null" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-07-04 21:15:24 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-11 23:14:53 +01:00
"expr" : "sum(rate(vm_new_timeseries_created_total{job=\"$job\"}[5m]))" ,
"legendFormat" : "churn rate" ,
2019-07-04 21:15:24 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-11 23:14:53 +01:00
"title" : "Churn rate" ,
2019-07-04 21:15:24 +02:00
"tooltip" : {
"shared" : true ,
2019-11-11 23:14:53 +01:00
"sort" : 0 ,
2019-07-04 21:15:24 +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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
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)" ,
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
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"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" : [
{
2019-11-11 23:14:53 +01:00
"expr" : "sum(rate(vm_http_request_errors_total{job=\"$job\"}[$__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 ,
2019-11-11 23:14:53 +01:00
"title" : "Requests error rate" ,
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 ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
2019-11-11 23:14:53 +01:00
"description" : "Slow queries according to `search.logSlowQueryDuration` flag, which is `5s` by default." ,
2019-10-28 12:54:10 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 35
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-11 23:14:53 +01:00
"id" : 60 ,
2019-06-02 23:25:07 +02:00
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-11 23:14:53 +01:00
"expr" : "sum(rate(vm_slow_queries_total{job=\"$job\"}[5m]))" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2019-11-11 23:14:53 +01:00
"legendFormat" : "slow queries rate" ,
2019-06-02 23:25:07 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-11 23:14:53 +01:00
"title" : "Slow queries" ,
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" : [
{
"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 ,
"datasource" : "${DS_PROMETHEUS}" ,
2019-11-11 23:14:53 +01: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." ,
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 ,
2019-10-28 12:54:10 +01:00
"x" : 12 ,
2019-07-04 21:15:24 +02:00
"y" : 35
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-11 23:14:53 +01:00
"id" : 59 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "max" ,
"color" : "#C4162A"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_concurrent_addrows_capacity{job=\"$job\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "max" ,
"refId" : "A"
} ,
{
"expr" : "sum(vm_concurrent_addrows_current{job=\"$job\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "current" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Concurrent inserts" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"decimals" : 0 ,
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "" ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 43
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-11 23:14:53 +01:00
"id" : 37 ,
2019-06-02 23:25:07 +02:00
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-11 23:14:53 +01:00
"expr" : "sum(vm_tcplistener_conns{job=\"$job\"})" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "connections" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-11 23:14:53 +01:00
"title" : "TCP connections" ,
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" : [
{
"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 20:20:38 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
2019-11-11 23:14:53 +01:00
"description" : "" ,
2019-11-08 20:20:38 +01:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2019-11-11 23:14:53 +01:00
"x" : 12 ,
2019-11-08 20:20:38 +01:00
"y" : 43
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-11 23:14:53 +01:00
"id" : 49 ,
2019-11-08 20:20:38 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-11-11 23:14:53 +01:00
"expr" : "sum(rate(vm_tcplistener_accepts_total{job=\"$job\"}[$__interval]))" ,
2019-11-08 20:20:38 +01:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2019-11-11 23:14:53 +01:00
"legendFormat" : "connections" ,
2019-11-08 20:20:38 +01:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-11-11 23:14:53 +01:00
"title" : "TCP connections rate" ,
2019-11-08 20:20:38 +01: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-06-02 23:25:07 +02:00
{
"collapsed" : false ,
2019-11-08 20:20:38 +01:00
"datasource" : "${DS_PROMETHEUS}" ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2019-11-08 20:20:38 +01:00
"y" : 51
2019-06-02 23:25:07 +02:00
} ,
"id" : 14 ,
"panels" : [ ] ,
"title" : "Storage" ,
"type" : "row"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "How many datapoints are inserted into storage per second" ,
"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-11-08 20:20:38 +01:00
"y" : 52
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" : 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" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"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
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
2020-02-03 01:09:53 +01:00
"description" : "How many datapoints are in RAM queue waiting to be written into storage. The number of pending data points should be in the range from 0 to `2*<ingestion_rate>`, since VictoriaMetrics pushes pending data to persistent storage every second." ,
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-11-08 20:20:38 +01:00
"y" : 52
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" : 34 ,
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
2019-06-07 00:31:45 +02:00
"alias" : "pending index entries" ,
2019-06-02 23:25:07 +02:00
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-06-07 00:31:45 +02:00
"expr" : "vm_pending_rows{job=\"$job\", type=\"storage\"}" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2019-06-07 00:31:45 +02:00
"legendFormat" : "pending datapoints" ,
2019-06-02 23:25:07 +02:00
"refId" : "A"
2019-06-07 00:31:45 +02:00
} ,
{
"expr" : "vm_pending_rows{job=\"$job\", type=\"indexdb\"}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "pending index entries" ,
"refId" : "B"
2019-06-02 23:25:07 +02:00
}
] ,
"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
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "How many datapoints are in the storage." ,
"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-11-08 20:20:38 +01:00
"y" : 60
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" : 30 ,
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(vm_rows{job=\"$job\", type != \"indexdb\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "datapoints" ,
"refId" : "A"
}
] ,
"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
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"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)" ,
"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-11-08 20:20:38 +01:00
"y" : 60
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" : 36 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"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
}
} ,
2019-07-04 21:15:24 +02:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "Shows amount of on-disk space occupied by data points." ,
"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" : 0 ,
2019-11-08 20:20:38 +01:00
"y" : 68
2019-07-04 21:15:24 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-07-04 21:15:24 +02:00
"id" : 53 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-07-04 21:15:24 +02:00
"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" ,
"intervalFactor" : 1 ,
"legendFormat" : "Size" ,
"refId" : "A"
}
] ,
"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 ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "Shows amount of on-disk space occupied by inverted index." ,
"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 ,
2019-11-08 20:20:38 +01:00
"y" : 68
2019-07-04 21:15:24 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-07-04 21:15:24 +02:00
"id" : 55 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-07-04 21:15:24 +02:00
"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
}
} ,
2019-11-08 20:20:38 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "The number of on-going merges in storage nodes. It is expected to have high numbers for `storage/small` metric." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 76
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-08 20:20:38 +01:00
"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 ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "The number of rows merged per second by storage nodes." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 76
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-11-08 20:20:38 +01:00
"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
}
} ,
2019-10-28 12:54:10 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-11-08 20:20:38 +01:00
"y" : 84
2019-10-28 12:54:10 +01:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-10-28 12:54:10 +01:00
"id" : 58 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"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
}
} ,
2019-12-09 12:05:59 +01:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "Shows the rate of logging the messages by their level. Unexpected spike in rate is a good reason to check logs." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 84
} ,
"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 23:25:07 +02:00
{
"collapsed" : false ,
2019-11-08 20:20:38 +01:00
"datasource" : "${DS_PROMETHEUS}" ,
2019-06-02 23:25:07 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2019-11-08 20:20:38 +01:00
"y" : 92
2019-06-02 23:25:07 +02:00
} ,
"id" : 46 ,
"panels" : [ ] ,
2019-07-20 16:24:24 +02:00
"title" : "Resource usage" ,
2019-06-02 23:25:07 +02:00
"type" : "row"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"description" : "" ,
"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-11-08 20:20:38 +01:00
"y" : 93
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" : 44 ,
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"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
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2019-11-08 20:20:38 +01:00
"datasource" : "${DS_PROMETHEUS}" ,
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-11-08 20:20:38 +01:00
"y" : 93
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-07-20 16:24:24 +02:00
"id" : 57 ,
2019-06-02 23:25:07 +02:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2019-07-20 16:24:24 +02:00
"show" : true ,
2019-06-02 23:25:07 +02:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2019-10-28 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-07-20 16:24:24 +02:00
"expr" : "rate(process_cpu_seconds_total{job=\"$job\"}[5m])" ,
2019-06-02 23:25:07 +02:00
"format" : "time_series" ,
2019-07-20 16:24:24 +02:00
"intervalFactor" : 1 ,
"legendFormat" : "Rate 5m" ,
2019-06-02 23:25:07 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2019-07-20 16:24:24 +02:00
"title" : "CPU" ,
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" : [
{
2019-07-20 16:24:24 +02:00
"format" : "short" ,
2019-06-02 23:25:07 +02:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"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-11-08 20:20:38 +01:00
"y" : 101
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" : 47 ,
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"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
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"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-11-08 20:20:38 +01:00
"y" : 101
2019-06-02 23:25:07 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-07-20 16:24:24 +02:00
"id" : 42 ,
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-07-20 16:24:24 +02:00
"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
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
2019-10-28 12:54:10 +01:00
"fillGradient" : 0 ,
2019-07-20 16:24:24 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2019-11-08 20:20:38 +01:00
"y" : 109
2019-07-20 16:24:24 +02:00
} ,
2019-12-09 12:05:59 +01:00
"hiddenSeries" : false ,
2019-06-02 23:25:07 +02:00
"id" : 48 ,
"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 12:54:10 +01:00
"options" : {
"dataLinks" : [ ]
} ,
2019-06-02 23:25:07 +02:00
"percentage" : false ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2019-07-20 16:24:24 +02:00
"expr" : "sum(process_num_threads{job=\"$job\"})" ,
2019-06-02 23:25:07 +02:00
"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
}
}
] ,
"refresh" : "30s" ,
2019-12-09 12:05:59 +01:00
"schemaVersion" : 21 ,
2019-06-02 23:25:07 +02:00
"style" : "dark" ,
"tags" : [ ] ,
"templating" : {
"list" : [
{
"allValue" : null ,
"current" : { } ,
"datasource" : "${DS_PROMETHEUS}" ,
"definition" : "label_values(vm_app_version, job)" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
"query" : "label_values(vm_app_version, job)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : { } ,
"datasource" : "${DS_PROMETHEUS}" ,
"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 01:09:53 +01:00
"from" : "now-30m" ,
2019-06-02 23:25:07 +02:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"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-02-03 01:09:53 +01:00
"version" : 2
2019-11-08 20:20:38 +01:00
}