2021-04-14 10:17:52 +02:00
{
2022-11-25 09:28:14 +01:00
"__inputs" : [ ] ,
2022-06-09 10:39:30 +02:00
"__elements" : [ ] ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
"version" : "8.5.1"
} ,
{
"type" : "panel" ,
"id" : "graph" ,
"name" : "Graph (old)" ,
"version" : ""
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
}
] ,
2021-04-14 10:17:52 +02:00
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
2021-04-14 10:17:52 +02:00
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
2022-06-09 10:39:30 +02:00
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
2021-04-14 10:17:52 +02:00
"type" : "dashboard"
}
]
} ,
"description" : "Overview for enterprise cluster VictoriaMetrics v1.56.0 or higher" ,
"editable" : true ,
2022-06-09 10:39:30 +02:00
"fiscalYearStartMonth" : 0 ,
2021-04-14 10:17:52 +02:00
"graphTooltip" : 0 ,
2022-06-09 10:39:30 +02:00
"id" : null ,
"iteration" : 1654632993170 ,
2021-04-14 10:17:52 +02:00
"links" : [ ] ,
2022-06-09 10:39:30 +02:00
"liveNow" : false ,
2021-04-14 10:17:52 +02:00
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2021-04-14 10:17:52 +02:00
"description" : "How many datapoints are inserted into storage per second by accountID and projectID" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 0
} ,
"hiddenSeries" : false ,
"id" : 2 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-06-09 10:39:30 +02:00
"pluginVersion" : "8.5.1" ,
2021-04-14 10:17:52 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-06-09 10:39:30 +02:00
} ,
"expr" : "sum(increase(vm_tenant_inserted_rows_total{job=~\"$job\", instance=~\"$instance\",accountID=~\"$account\", projectID=~\"$project\"}[1m])/60) by (accountID,projectID) " ,
2021-04-14 10:17:52 +02:00
"interval" : "" ,
"legendFormat" : "inserted rows: {{accountID}}:{{projectID}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Datapoints ingestion rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
}
] ,
"yaxis" : {
2022-06-09 10:39:30 +02:00
"align" : false
2021-04-14 10:17:52 +02:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2021-04-14 10:17:52 +02:00
"description" : "Request rate accepted by vmselect nodes per tenant" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 0
} ,
"hiddenSeries" : false ,
"id" : 4 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-06-09 10:39:30 +02:00
"pluginVersion" : "8.5.1" ,
2021-04-14 10:17:52 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-06-09 10:39:30 +02:00
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(vm_tenant_select_requests_total{job=~\"$job\", instance=~\"$instance.*\",accountID=~\"$account\", projectID=~\"$project\"}[$__rate_interval])) by (accountID,projectID) " ,
2021-04-14 10:17:52 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-06-09 10:39:30 +02:00
"legendFormat" : "query rate tenant: {{accountID}}:{{projectID}}" ,
"range" : true ,
2021-04-14 10:17:52 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Query rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
}
] ,
"yaxis" : {
2022-06-09 10:39:30 +02:00
"align" : false
2021-04-14 10:17:52 +02:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2021-04-14 10:17:52 +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:" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 8
} ,
"hiddenSeries" : false ,
"id" : 6 ,
"legend" : {
2022-06-09 10:39:30 +02:00
"alignAsTable" : true ,
2021-04-14 10:17:52 +02:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [
{
"targetBlank" : true ,
"title" : "troubleshooting" ,
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#troubleshooting"
}
] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-06-09 10:39:30 +02:00
"pluginVersion" : "8.5.1" ,
2021-04-14 10:17:52 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-06-09 10:39:30 +02:00
} ,
"expr" : "sum(vm_tenant_active_timeseries{job=~\"$job\", instance=~\"$instance.*\",accountID=~\"$account\",projectID=~\"$project\"}) by(accountID,projectID)" ,
2021-04-14 10:17:52 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "Active time series tenant: {{accountID}}:{{projectID}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Active time series ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
}
] ,
"yaxis" : {
2022-06-09 10:39:30 +02:00
"align" : false
2021-04-14 10:17:52 +02:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2021-04-14 10:17:52 +02:00
"description" : "Shows how many of new time-series are created every second. High churn rate tightly connected with database performance and may result in unexpected OOM's or slow queries. It is recommended to always keep an eye on this metric to avoid unexpected cardinality \"explosions\".\n\nGood references to read:\n* https://www.robustperception.io/cardinality-is-key\n* https://www.robustperception.io/using-tsdb-analyze-to-investigate-churn-and-cardinality" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 8
} ,
"hiddenSeries" : false ,
"id" : 8 ,
"legend" : {
2022-06-09 10:39:30 +02:00
"alignAsTable" : true ,
2021-04-14 10:17:52 +02:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-06-09 10:39:30 +02:00
"rightSide" : false ,
2021-04-14 10:17:52 +02:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-06-09 10:39:30 +02:00
"pluginVersion" : "8.5.1" ,
2021-04-14 10:17:52 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-06-09 10:39:30 +02:00
} ,
"expr" : "sum(increase(vm_tenant_timeseries_created_total{job=~\"$job\", instance=~\"$instance\",accountID=~\"$account\", projectID=~\"$project\"}[1m])/60) by(accountID,projectID)" ,
2021-04-14 10:17:52 +02:00
"interval" : "" ,
"legendFormat" : "churn rate tenant: {{accountID}}:{{projectID}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Churn rate ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-06-09 10:39:30 +02:00
"align" : false
2021-04-14 10:17:52 +02:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2021-04-14 10:17:52 +02:00
"description" : "Shows amount of on-disk space occupied by data points." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 16
} ,
"hiddenSeries" : false ,
"id" : 10 ,
"legend" : {
2022-06-09 10:39:30 +02:00
"alignAsTable" : true ,
2021-04-14 10:17:52 +02:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-06-09 10:39:30 +02:00
"pluginVersion" : "8.5.1" ,
2021-04-14 10:17:52 +02:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-06-09 10:39:30 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-06-09 10:39:30 +02:00
} ,
"editorMode" : "code" ,
"expr" : "sum(vm_tenant_used_tenant_bytes{job=~\"$job\", instance=~\"$instance\",accountID=~\"$account\",projectID=~\"$project\"}) by(accountID,projectID)" ,
2021-04-14 10:17:52 +02:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2022-06-09 10:39:30 +02:00
"legendFormat" : "disk usage tenant {{accountID}}:{{projectID}}" ,
"range" : true ,
2021-04-14 10:17:52 +02:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Disk space usage (datapoints) ($instance)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
}
] ,
"yaxis" : {
2022-06-09 10:39:30 +02:00
"align" : false
2021-04-14 10:17:52 +02:00
}
}
] ,
2022-06-09 10:39:30 +02:00
"schemaVersion" : 36 ,
2021-04-14 10:17:52 +02:00
"style" : "dark" ,
"tags" : [
"VictoriaMetrics" ,
"monitoring"
] ,
"templating" : {
"list" : [
{
"current" : {
"selected" : false ,
2022-06-09 10:39:30 +02:00
"text" : "VictoriaMetrics" ,
"value" : "VictoriaMetrics"
2021-04-14 10:17:52 +02:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "ds" ,
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"allValue" : ".*" ,
2022-06-09 10:39:30 +02:00
"current" : { } ,
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-06-09 10:39:30 +02:00
"uid" : "$ds"
2021-04-14 10:17:52 +02:00
} ,
"definition" : "label_values(vm_app_version{version=~\"^vm(insert|select|storage).*\"}, job)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : true ,
"name" : "job" ,
"options" : [ ] ,
2022-06-09 10:39:30 +02:00
"query" : {
"query" : "label_values(vm_app_version{version=~\"^vm(insert|select|storage).*\"}, job)" ,
"refId" : "VictoriaMetrics-job-Variable-Query"
} ,
2021-04-14 10:17:52 +02:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2022-06-09 10:39:30 +02:00
"current" : { } ,
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-06-09 10:39:30 +02:00
"uid" : "$ds"
2021-04-14 10:17:52 +02:00
} ,
"definition" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : false ,
"name" : "instance" ,
"options" : [ ] ,
2022-06-09 10:39:30 +02:00
"query" : {
"query" : "label_values(vm_app_version{job=~\"$job\"}, instance)" ,
"refId" : "VictoriaMetrics-instance-Variable-Query"
} ,
2021-04-14 10:17:52 +02:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2022-06-09 10:39:30 +02:00
"current" : { } ,
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-06-09 10:39:30 +02:00
"uid" : "$ds"
2021-04-14 10:17:52 +02:00
} ,
"definition" : "label_values(vm_tenant_active_timeseries{job=~\"$job\"},accountID)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : false ,
2022-06-09 10:39:30 +02:00
"name" : "account" ,
2021-04-14 10:17:52 +02:00
"options" : [ ] ,
2022-06-09 10:39:30 +02:00
"query" : {
"query" : "label_values(vm_tenant_active_timeseries{job=~\"$job\"},accountID)" ,
"refId" : "StandardVariableQuery"
} ,
2021-04-14 10:17:52 +02:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2022-06-09 10:39:30 +02:00
"current" : { } ,
"datasource" : {
2022-11-28 08:37:39 +01:00
"type" : "prometheus" ,
2022-06-09 10:39:30 +02:00
"uid" : "$ds"
2021-04-14 10:17:52 +02:00
} ,
"definition" : "label_values(vm_tenant_active_timeseries{accountID=~\"$accountID\"},projectID)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : false ,
2022-06-09 10:39:30 +02:00
"name" : "project" ,
2021-04-14 10:17:52 +02:00
"options" : [ ] ,
2022-06-09 10:39:30 +02:00
"query" : {
"query" : "label_values(vm_tenant_active_timeseries{accountID=~\"$accountID\"},projectID)" ,
"refId" : "VictoriaMetrics-projectID-Variable-Query"
} ,
2021-04-14 10:17:52 +02:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
"from" : "now-1h" ,
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
2022-06-09 10:39:30 +02:00
"title" : "VictoriaMetrics Cluster Per Tenant Statistic" ,
2021-04-14 10:17:52 +02:00
"uid" : "IZFqd3lMz" ,
2022-06-09 10:39:30 +02:00
"version" : 7 ,
"weekStart" : ""
2022-11-28 08:37:39 +01:00
}