2022-05-23 08:32:51 +00:00
{
2023-01-12 15:31:26 +00:00
"__inputs" : [ ] ,
"__elements" : { } ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-04-29 10:32:19 +00:00
"version" : "10.4.0"
2023-01-12 15:31:26 +00:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
"version" : ""
2024-04-29 10:32:19 +00:00
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
2023-01-12 15:31:26 +00:00
}
] ,
2022-05-23 08:32:51 +00:00
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
2022-11-25 08:28:14 +00:00
"type" : "datasource" ,
"uid" : "grafana"
2022-05-23 08:32:51 +00:00
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
"type" : "dashboard"
}
]
} ,
"description" : "Overview for operator VictoriaMetrics v0.25.0 or higher" ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 0 ,
2023-01-12 15:31:26 +00:00
"id" : null ,
2022-05-23 08:32:51 +00:00
"links" : [ ] ,
"liveNow" : false ,
"panels" : [
{
"collapsed" : false ,
2023-01-12 15:31:26 +00:00
"datasource" : {
"type" : "prometheus" ,
2024-04-29 10:32:19 +00:00
"uid" : "PB894574A363DF0AF"
2023-01-12 15:31:26 +00:00
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 8 ,
"panels" : [ ] ,
2023-01-12 15:31:26 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-04-29 10:32:19 +00:00
"uid" : "PB894574A363DF0AF"
2023-01-12 15:31:26 +00:00
} ,
"refId" : "A"
}
] ,
2022-05-23 08:32:51 +00:00
"title" : "Overview" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 24 ,
"options" : {
2023-01-12 15:31:26 +00:00
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
2022-05-23 08:32:51 +00:00
"content" : "<div style=\"text-align: center;\">$version</div>" ,
"mode" : "markdown"
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2023-01-12 15:31:26 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
2022-05-23 08:32:51 +00:00
"title" : "Version" ,
"type" : "text"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"description" : "Number of objects at kubernetes cluster per each controller" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 20 ,
"x" : 4 ,
"y" : 1
} ,
"id" : 14 ,
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-29 10:32:19 +00:00
"showPercentChange" : false ,
2022-05-23 08:32:51 +00:00
"text" : { } ,
2024-04-29 10:32:19 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "max(operator_controller_objects_count{job=~\"$job\",instance=~\"$instance\"}) by (controller)" ,
"legendFormat" : "{{controller}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CRD Objects count by controller" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-29 10:32:19 +00:00
"color" : "red" ,
2022-05-23 08:32:51 +00:00
"value" : null
} ,
{
2024-04-29 10:32:19 +00:00
"color" : "green" ,
"value" : 1800
2022-05-23 08:32:51 +00:00
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 4 ,
"x" : 0 ,
"y" : 4
} ,
"id" : 22 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-29 10:32:19 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "vm_app_uptime_seconds{job=~\"$job\",instance=~\"$instance\"}" ,
"format" : "table" ,
"instant" : true ,
"interval" : "" ,
"legendFormat" : "{{instance}}" ,
"range" : false ,
"refId" : "A"
}
] ,
"title" : "Uptime" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 0 ,
"y" : 8
} ,
"id" : 12 ,
"options" : {
2024-04-29 10:32:19 +00:00
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
2024-04-29 10:32:19 +00:00
"expr" : "sum(rate(controller_runtime_reconcile_total{job=~\"$job\",instance=~\"$instance\",result=~\"requeue_after|requeue|success\"}[$__rate_interval])) by(controller) > 0" ,
2022-05-23 08:32:51 +00:00
"legendFormat" : "{{controller}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Reconciliation rate by controller" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"description" : "" ,
2024-04-29 10:32:19 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 12 ,
"y" : 8
} ,
"id" : 16 ,
"options" : {
2024-04-29 10:32:19 +00:00
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(operator_log_messages_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) by (level)" ,
"legendFormat" : "{{label_name}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Log message rate" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
2024-04-29 10:32:19 +00:00
"collapsed" : true ,
2023-01-12 15:31:26 +00:00
"datasource" : {
"type" : "prometheus" ,
2024-04-29 10:32:19 +00:00
"uid" : "PB894574A363DF0AF"
2023-01-12 15:31:26 +00:00
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 21
} ,
"id" : 6 ,
2024-04-29 10:32:19 +00:00
"panels" : [
2023-01-12 15:31:26 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
2024-04-29 10:32:19 +00:00
"description" : "Non zero metrics indicates about error with CR object definition (typos or incorrect values) or errors with kubernetes API connection." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 2
} ,
"id" : 10 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "sum(rate(controller_runtime_reconcile_errors_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) by(controller) > 0 " ,
"instant" : false ,
"legendFormat" : "{{controller}}" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(controller_runtime_reconcile_total{job=~\"$job\",instance=~\"$instance\",result=\"error\"}[$__rate_interval])) by(controller) > 0" ,
"hide" : false ,
"legendFormat" : "{{label_name}}" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "reconcile errors by controller" ,
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"description" : "Operator limits number of reconcilation events to 5 events per 2 seconds.\n For now, this limit is applied only for vmalert and vmagent controllers.\n It should reduce load at kubernetes cluster and increase operator performance." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 2
} ,
"id" : 18 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(operator_reconcile_throttled_events_total[$__rate_interval])) by(controller)" ,
"legendFormat" : "{{controller}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "throttled reconcilation events" ,
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"description" : "Number of objects waiting in the queue for reconciliation. Non-zero values indicate that operator cannot process CR objects changes with the given resources." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 11 ,
"w" : 12 ,
"x" : 0 ,
"y" : 10
} ,
"id" : 20 ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "max(workqueue_depth{job=~\"$job\",instance=~\"$instance\"}) by (name)" ,
"legendFormat" : "{{label_name}}" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-06-11 08:39:17 +00:00
"title" : "Working queue depth" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"description" : " For controllers with StatefulSet it's ok to see latency greater then 3 seconds. It could be vmalertmanager,vmcluster or vmagent in statefulMode.\n\n For other controllers, latency greater then 1 second may indicate issues with kubernetes cluster or operator's performance.\n " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 11 ,
"w" : 12 ,
"x" : 12 ,
"y" : 10
} ,
"id" : 26 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(controller_runtime_reconcile_time_seconds_bucket[$__rate_interval])) by(le,controller))" ,
"legendFormat" : "q.99 {{controller}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Reconcilation latency by controller" ,
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
}
] ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-04-29 10:32:19 +00:00
"uid" : "PB894574A363DF0AF"
2022-05-23 08:32:51 +00:00
} ,
"refId" : "A"
}
] ,
2024-04-29 10:32:19 +00:00
"title" : "Troubleshooting" ,
"type" : "row"
2022-05-23 08:32:51 +00:00
} ,
{
"collapsed" : false ,
2023-01-12 15:31:26 +00:00
"datasource" : {
"type" : "prometheus" ,
2024-04-29 10:32:19 +00:00
"uid" : "PB894574A363DF0AF"
2023-01-12 15:31:26 +00:00
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-04-29 10:32:19 +00:00
"y" : 22
2022-05-23 08:32:51 +00:00
} ,
"id" : 4 ,
"panels" : [ ] ,
2023-01-12 15:31:26 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-04-29 10:32:19 +00:00
"uid" : "PB894574A363DF0AF"
2023-01-12 15:31:26 +00:00
} ,
"refId" : "A"
}
] ,
2022-05-23 08:32:51 +00:00
"title" : "resources" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"fieldConfig" : {
"defaults" : {
2024-04-29 10:32:19 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2022-05-23 08:32:51 +00:00
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:32:19 +00:00
"y" : 23
2022-05-23 08:32:51 +00:00
} ,
"id" : 28 ,
"options" : {
2024-04-29 10:32:19 +00:00
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) " ,
"legendFormat" : "requested from system" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(go_memstats_heap_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) " ,
"hide" : false ,
"legendFormat" : "heap inuse" ,
"range" : true ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"hide" : false ,
"legendFormat" : "stack inuse" ,
"range" : true ,
"refId" : "C"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"hide" : false ,
"legendFormat" : "resident" ,
"range" : true ,
"refId" : "D"
}
] ,
"title" : "Memory usage ($instance)" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:32:19 +00:00
"y" : 23
2022-05-23 08:32:51 +00:00
} ,
"id" : 30 ,
"options" : {
2024-04-29 10:32:19 +00:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])" ,
"legendFormat" : "CPU cores used" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CPU ($instance)" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
2022-05-23 08:32:51 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-29 10:32:19 +00:00
"y" : 31
2022-05-23 08:32:51 +00:00
} ,
"id" : 32 ,
"options" : {
2024-04-29 10:32:19 +00:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"})" ,
"legendFormat" : "goroutines" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Goroutines ($instance)" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"fieldConfig" : {
"defaults" : {
2024-04-29 10:32:19 +00:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2022-05-23 08:32:51 +00:00
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-29 10:32:19 +00:00
"y" : 31
2022-05-23 08:32:51 +00:00
} ,
"id" : 34 ,
"options" : {
2024-04-29 10:32:19 +00:00
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"pluginVersion" : "10.4.0" ,
2022-05-23 08:32:51 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))" ,
"legendFormat" : "avg gc duration" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "GC duration ($instance)" ,
2024-04-29 10:32:19 +00:00
"type" : "timeseries"
2022-05-23 08:32:51 +00:00
}
] ,
"refresh" : "" ,
2024-04-29 10:32:19 +00:00
"schemaVersion" : 39 ,
2022-05-23 08:32:51 +00:00
"tags" : [
"operator" ,
"VictoriaMetrics"
] ,
"templating" : {
"list" : [
{
"current" : {
2024-04-29 10:32:19 +00:00
"selected" : true ,
"text" : "VictoriaMetrics" ,
"value" : "PF64AB64142051B50"
2022-05-23 08:32:51 +00:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
2023-01-05 13:59:56 +00:00
"name" : "ds" ,
2022-05-23 08:32:51 +00:00
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
2023-01-12 15:31:26 +00:00
"current" : { } ,
2022-05-23 08:32:51 +00:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"definition" : "label_values(operator_log_messages_total,job)" ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(operator_log_messages_total,job)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 2 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
2023-01-12 15:31:26 +00:00
"current" : { } ,
2022-05-23 08:32:51 +00:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
"definition" : "label_values(operator_log_messages_total{job=~\"$job\"},instance)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : false ,
"name" : "instance" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(operator_log_messages_total{job=~\"$job\"},instance)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 2 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
2023-01-12 15:31:26 +00:00
"current" : { } ,
2022-05-23 08:32:51 +00:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 07:37:39 +00:00
"uid" : "$ds"
2022-05-23 08:32:51 +00:00
} ,
2024-04-29 10:32:19 +00:00
"definition" : "label_values(vm_app_version{job=\"$job\", instance=~\"$instance\"},version)" ,
2022-05-23 08:32:51 +00:00
"hide" : 2 ,
"includeAll" : false ,
"multi" : false ,
"name" : "version" ,
"options" : [ ] ,
"query" : {
2024-04-29 10:32:19 +00:00
"qryType" : 1 ,
"query" : "label_values(vm_app_version{job=\"$job\", instance=~\"$instance\"},version)" ,
"refId" : "PrometheusVariableQueryEditor-VariableQuery"
2022-05-23 08:32:51 +00:00
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 2 ,
"type" : "query"
}
]
} ,
"time" : {
"from" : "now-15m" ,
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
"title" : "VictoriaMetrics - operator" ,
"uid" : "1H179hunk" ,
"version" : 1 ,
"weekStart" : ""
2023-01-12 15:31:26 +00:00
}