2022-05-23 10:32:51 +02:00
{
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
2022-11-25 09:28:14 +01:00
"type" : "datasource" ,
"uid" : "grafana"
2022-05-23 10:32:51 +02: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 16:31:26 +01:00
"id" : null ,
2022-05-23 10:32:51 +02:00
"links" : [ ] ,
"liveNow" : false ,
"panels" : [
{
"collapsed" : false ,
2023-01-12 16:31:26 +01:00
"datasource" : {
"type" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"uid" : "$ds"
2023-01-12 16:31:26 +01:00
} ,
2022-05-23 10:32:51 +02:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 8 ,
"panels" : [ ] ,
2023-01-12 16:31:26 +01:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"uid" : "$ds"
2023-01-12 16:31:26 +01:00
} ,
"refId" : "A"
}
] ,
2022-05-23 10:32:51 +02:00
"title" : "Overview" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 24 ,
"options" : {
2023-01-12 16:31:26 +01:00
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
2022-05-23 10:32:51 +02:00
"content" : "<div style=\"text-align: center;\">$version</div>" ,
"mode" : "markdown"
} ,
2024-04-29 12:32:19 +02:00
"pluginVersion" : "10.4.0" ,
2023-01-12 16:31:26 +01:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"refId" : "A"
}
] ,
2022-05-23 10:32:51 +02:00
"title" : "Version" ,
"type" : "text"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"description" : "Number of objects at kubernetes cluster per each controller" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2022-05-23 10:32:51 +02:00
"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 12:32:19 +02:00
"showPercentChange" : false ,
2022-05-23 10:32:51 +02:00
"text" : { } ,
2024-04-29 12:32:19 +02:00
"textMode" : "auto" ,
"wideLayout" : true
2022-05-23 10:32:51 +02:00
} ,
2024-04-29 12:32:19 +02:00
"pluginVersion" : "10.4.0" ,
2022-05-23 10:32:51 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02: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 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-30 15:35:39 +02:00
"color" : "green" ,
2022-05-23 10:32:51 +02:00
"value" : null
} ,
{
2024-09-30 15:35:39 +02:00
"color" : "red" ,
"value" : 80
2022-05-23 10:32:51 +02: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 12:32:19 +02:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2022-05-23 10:32:51 +02:00
} ,
2024-04-29 12:32:19 +02:00
"pluginVersion" : "10.4.0" ,
2022-05-23 10:32:51 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02: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 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"description" : " Shows per namespace watchers for Prometheus Operator objects (ServiceMonitors, PodMonitors, etc) " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2024-09-30 15:35:39 +02:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 0 ,
"y" : 8
} ,
"id" : 39 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(operator_prometheus_converter_active_watchers)" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Prometheus Objects watchers" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : " Number of operator instances with obtained leader status. \n Value above 1 indicates that instances with the same job may behave incorrectly.\n It's recommend to check Operator logs. " ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2024-09-30 15:35:39 +02:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 4 ,
"y" : 8
} ,
"id" : 40 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(leader_election_master_status{job=~\"$job\"})" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-11-13 01:56:17 +01:00
"title" : "Elected Leaders" ,
2024-09-30 15:35:39 +02:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : " Shows number of active reconcile workers" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
2024-11-13 01:56:17 +01:00
"min" : 0 ,
2024-09-30 15:35:39 +02:00
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 8 ,
"y" : 8
} ,
"id" : 41 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(controller_runtime_active_workers{job=~\"$job\"})" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Active workers" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : " Shows amount of Prometheus Operator objects processed by Operator." ,
2024-04-29 12:32:19 +02: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"
} ,
2024-09-30 15:35:39 +02:00
"showPoints" : "auto" ,
2024-04-29 12:32:19 +02:00
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-09-30 15:35:39 +02:00
}
2024-04-29 12:32:19 +02:00
} ,
"overrides" : [ ]
} ,
2022-05-23 10:32:51 +02:00
"gridPos" : {
2024-09-30 15:35:39 +02:00
"h" : 5 ,
2022-05-23 10:32:51 +02:00
"w" : 12 ,
2024-09-30 15:35:39 +02:00
"x" : 12 ,
2022-05-23 10:32:51 +02:00
"y" : 8
} ,
2024-09-30 15:35:39 +02:00
"id" : 38 ,
2022-05-23 10:32:51 +02:00
"options" : {
2024-04-29 12:32:19 +02:00
"legend" : {
"calcs" : [
2024-09-30 15:35:39 +02:00
"max" ,
"mean"
2024-04-29 12:32:19 +02:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2024-09-30 15:35:39 +02:00
"mode" : "single" ,
"sort" : "none"
2024-04-29 12:32:19 +02:00
}
2022-05-23 10:32:51 +02:00
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"editorMode" : "code" ,
2024-09-30 15:35:39 +02:00
"expr" : "sum(rate(operator_prometheus_converter_watch_events_total{job=~\"$job\"}[$__interval])) by (event_type,object_type_name)" ,
"instant" : false ,
"legendFormat" : "{{object_type_name}} {{event_type}}" ,
2022-05-23 10:32:51 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-09-30 15:35:39 +02:00
"title" : "Prometheus Converter Watch events" ,
2024-04-29 12:32:19 +02:00
"type" : "timeseries"
2022-05-23 10:32:51 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-04-29 12:32:19 +02: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 10:32:51 +02:00
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
2024-09-30 15:35:39 +02:00
"x" : 0 ,
"y" : 13
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"id" : 12 ,
2022-05-23 10:32:51 +02:00
"options" : {
2024-04-29 12:32:19 +02:00
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2024-09-30 15:35:39 +02:00
"sort" : "none"
2024-04-29 12:32:19 +02:00
}
2022-05-23 10:32:51 +02:00
} ,
2024-04-29 12:32:19 +02:00
"pluginVersion" : "10.4.0" ,
2022-05-23 10:32:51 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"editorMode" : "code" ,
2024-09-30 15:35:39 +02:00
"expr" : "sum(rate(controller_runtime_reconcile_total{job=~\"$job\",instance=~\"$instance\",result=~\"requeue_after|requeue|success\"}[$__rate_interval])) by(controller)" ,
"legendFormat" : "{{controller}}" ,
2022-05-23 10:32:51 +02:00
"range" : true ,
"refId" : "A"
}
] ,
2024-09-30 15:35:39 +02:00
"title" : "Reconciliation rate by controller" ,
2024-04-29 12:32:19 +02:00
"type" : "timeseries"
2022-05-23 10:32:51 +02:00
} ,
{
2023-01-12 16:31:26 +01:00
"datasource" : {
"type" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"description" : "Shows the rate of logging the messages by their level. Unexpected spike in rate is a good reason to check logs." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2023-01-12 16:31:26 +01:00
} ,
2024-09-30 15:35:39 +02:00
"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
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
2024-04-29 12:32:19 +02:00
}
} ,
2024-09-30 15:35:39 +02:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 12 ,
"y" : 13
} ,
"id" : 16 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
2024-04-29 12:32:19 +02:00
] ,
2024-09-30 15:35:39 +02:00
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
2022-05-23 10:32:51 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02: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" ,
"type" : "timeseries"
} ,
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 26
} ,
"id" : 6 ,
"panels" : [ ] ,
"targets" : [
2022-05-23 10:32:51 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"refId" : "A"
}
] ,
"title" : "Troubleshooting" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"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"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 27
} ,
"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" : "result errors: {{controller}}" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "reconcile errors by controller" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Operator limits number of reconcile configuration events to 5 events per 2 seconds by default." ,
"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"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
"id" : 18 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"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 config events" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"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"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 11 ,
"w" : 12 ,
"x" : 0 ,
"y" : 35
} ,
"id" : 20 ,
"options" : {
"legend" : {
"calcs" : [
"max" ,
"mean"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"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"
}
] ,
"title" : "Wokring queue depth" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"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 2 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
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"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"
} ,
{
"color" : "red" ,
"value" : 80
}
]
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 11 ,
"w" : 12 ,
"x" : 12 ,
"y" : 35
} ,
"id" : 26 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99,sum(rate(controller_runtime_reconcile_time_seconds_bucket{job=~\"$job\"}[$__rate_interval])) by(le,controller) )" ,
"legendFormat" : "q.99 {{controller}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Reconcilation latency by controller" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Number of HTTP requests to the Kubernetes API server break down by code and method" ,
"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
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
2024-04-29 12:32:19 +02:00
}
} ,
2024-09-30 15:35:39 +02:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 46
} ,
"id" : 36 ,
"options" : {
"legend" : {
"calcs" : [
"max" ,
"mean"
2024-04-29 12:32:19 +02:00
] ,
2024-09-30 15:35:39 +02:00
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
2022-05-23 10:32:51 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(rest_client_requests_total{job=~\"$job\"}[$__interval])) by (method,code)" ,
"instant" : false ,
"legendFormat" : "{{method}} {{code}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Rest client requests" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"description" : "Shows how many ongoing reconcile events are taking place, where:\n* `max` - equal to the value of flag`-controller.maxConcurrentReconciles`;\n* `current` - current number of reconcile workers processing CRD objects.\n\nWhen `current` hits `max` constantly, it means operator cannot process events in time. It should be either increased value for flag `-controller.maxConcurrentReconciles` or allocated additional CPU resources to the operator." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"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
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
2024-04-29 12:32:19 +02:00
}
} ,
2024-09-30 15:35:39 +02:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Max"
} ,
"properties" : [
{
"id" : "custom.axisColorMode" ,
"value" : "text"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
{
"id" : "color" ,
"value" : {
"fixedColor" : "dark-red" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 46
} ,
"id" : 42 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
2022-05-23 10:32:51 +02:00
}
2024-09-30 15:35:39 +02:00
} ,
2022-05-23 10:32:51 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"editorMode" : "code" ,
"expr" : "max(max_over_time(controller_runtime_active_workers{job=~\"$job\"}[$__interval]))" ,
"instant" : false ,
"legendFormat" : "Current" ,
"range" : true ,
2022-05-23 10:32:51 +02:00
"refId" : "A"
2024-09-30 15:35:39 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "min(controller_runtime_max_concurrent_reconciles{job=~\"$job\"})" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "Max" ,
"range" : true ,
"refId" : "B"
2022-05-23 10:32:51 +02:00
}
] ,
2024-09-30 15:35:39 +02:00
"title" : "Concurrent reconcile ($instance)" ,
"type" : "timeseries"
2022-05-23 10:32:51 +02:00
} ,
{
2023-01-12 16:31:26 +01:00
"datasource" : {
"type" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"uid" : "$ds"
} ,
"description" : "Shows the time goroutines have spent in runnable state before actually running. The lower is better.\n\nHigh values or values exceeding the threshold is usually a sign of insufficient CPU resources or CPU throttling. \n\nVerify that service has enough CPU resources. Otherwise, the service could work unreliably with delays in processing." ,
"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" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
2023-01-12 16:31:26 +01:00
} ,
2022-05-23 10:32:51 +02:00
"gridPos" : {
2024-09-30 15:35:39 +02:00
"h" : 8 ,
"w" : 12 ,
2022-05-23 10:32:51 +02:00
"x" : 0 ,
2024-09-30 15:35:39 +02:00
"y" : 54
} ,
"id" : 37 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
2022-05-23 10:32:51 +02:00
} ,
2023-01-12 16:31:26 +01:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"uid" : "$ds"
2023-01-12 16:31:26 +01:00
} ,
2024-09-30 15:35:39 +02:00
"editorMode" : "code" ,
"expr" : "max(histogram_quantile(0.99, sum(rate(go_sched_latencies_seconds_bucket{job=~\"$job\"}[$__rate_interval])) by (job, instance, le))) by(job)" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
2023-01-12 16:31:26 +01:00
"refId" : "A"
}
] ,
2024-09-30 15:35:39 +02:00
"title" : "Go scheduling latency" ,
"type" : "timeseries"
2022-05-23 10:32:51 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"description" : " Requests latency to the Kubernetes API server." ,
2022-05-23 10:32:51 +02:00
"fieldConfig" : {
"defaults" : {
2024-04-29 12:32:19 +02:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2024-09-30 15:35:39 +02:00
"fillOpacity" : 0 ,
2024-04-29 12:32:19 +02:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
2024-09-30 15:35:39 +02:00
"showPoints" : "auto" ,
2024-04-29 12:32:19 +02:00
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-09-30 15:35:39 +02:00
"color" : "green"
2024-04-29 12:32:19 +02:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-09-30 15:35:39 +02:00
"unit" : "s"
2022-05-23 10:32:51 +02:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2024-09-30 15:35:39 +02:00
"x" : 12 ,
"y" : 54
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"id" : 35 ,
2022-05-23 10:32:51 +02:00
"options" : {
2024-04-29 12:32:19 +02:00
"legend" : {
"calcs" : [
2024-09-30 15:35:39 +02:00
"max" ,
"mean"
2024-04-29 12:32:19 +02:00
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2024-09-30 15:35:39 +02:00
"mode" : "single" ,
"sort" : "none"
2024-04-29 12:32:19 +02:00
}
2022-05-23 10:32:51 +02:00
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"editorMode" : "code" ,
2024-09-30 15:35:39 +02:00
"expr" : "histogram_quantile(0.99,sum(rate(rest_client_request_duration_seconds_bucket{job=~\"$job\"})) by(le,method,api) )" ,
"instant" : false ,
"legendFormat" : "{{method}} {{api}}" ,
2022-05-23 10:32:51 +02:00
"range" : true ,
"refId" : "A"
2024-09-30 15:35:39 +02:00
}
] ,
"title" : "rest client latency" ,
"type" : "timeseries"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 62
} ,
"id" : 4 ,
"panels" : [
2022-05-23 10:32:51 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02: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"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 63
} ,
"id" : 28 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"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" ,
"expr" : "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) " ,
"legendFormat" : "requested from system" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
} ,
"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" ,
"uid" : "$ds"
} ,
"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" ,
"uid" : "$ds"
} ,
"editorMode" : "code" ,
"expr" : "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"})" ,
"hide" : false ,
"legendFormat" : "resident" ,
"range" : true ,
"refId" : "D"
}
] ,
"title" : "Memory usage ($instance)" ,
"type" : "timeseries"
2022-05-23 10:32:51 +02:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02: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"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 63
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"id" : 30 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2024-04-29 12:32:19 +02:00
}
} ,
2024-09-30 15:35:39 +02:00
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"editorMode" : "code" ,
"expr" : "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) " ,
"legendFormat" : "CPU cores used" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CPU ($instance)" ,
"type" : "timeseries"
2024-04-29 12:32:19 +02:00
} ,
2022-05-23 10:32:51 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02: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"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 71
} ,
"id" : 32 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2024-04-29 12:32:19 +02:00
}
} ,
2024-09-30 15:35:39 +02:00
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"editorMode" : "code" ,
"expr" : "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"})" ,
"legendFormat" : "goroutines" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Goroutines ($instance)" ,
"type" : "timeseries"
2024-04-29 12:32:19 +02:00
} ,
2022-05-23 10:32:51 +02:00
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02: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"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 71
} ,
"id" : 34 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
2024-04-29 12:32:19 +02:00
}
} ,
2024-09-30 15:35:39 +02:00
"pluginVersion" : "10.4.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$ds"
2024-04-29 12:32:19 +02:00
} ,
2024-09-30 15:35:39 +02: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"
}
2024-04-29 12:32:19 +02:00
] ,
2024-09-30 15:35:39 +02:00
"title" : "GC duration ($instance)" ,
"type" : "timeseries"
2024-04-29 12:32:19 +02:00
}
2024-09-30 15:35:39 +02:00
] ,
2022-05-23 10:32:51 +02:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
"refId" : "A"
}
] ,
2024-09-30 15:35:39 +02:00
"title" : "resources" ,
"type" : "row"
2022-05-23 10:32:51 +02:00
}
] ,
"refresh" : "" ,
2024-04-29 12:32:19 +02:00
"schemaVersion" : 39 ,
2022-05-23 10:32:51 +02:00
"tags" : [
"operator" ,
"VictoriaMetrics"
] ,
"templating" : {
"list" : [
{
2024-09-30 15:35:39 +02:00
"current" : { } ,
2022-05-23 10:32:51 +02:00
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
2023-01-05 14:59:56 +01:00
"name" : "ds" ,
2022-05-23 10:32:51 +02:00
"options" : [ ] ,
"query" : "prometheus" ,
2024-09-30 15:35:39 +02:00
"queryValue" : "te" ,
2022-05-23 10:32:51 +02:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
2023-01-12 16:31:26 +01:00
"current" : { } ,
2022-05-23 10:32:51 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02: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 16:31:26 +01:00
"current" : { } ,
2022-05-23 10:32:51 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02: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 16:31:26 +01:00
"current" : { } ,
2022-05-23 10:32:51 +02:00
"datasource" : {
"type" : "prometheus" ,
2022-11-28 08:37:39 +01:00
"uid" : "$ds"
2022-05-23 10:32:51 +02:00
} ,
2024-09-30 15:35:39 +02:00
"definition" : "label_values(vm_app_version{job=\"$job\", instance=\"$instance\"}, version)" ,
2022-05-23 10:32:51 +02:00
"hide" : 2 ,
"includeAll" : false ,
"multi" : false ,
"name" : "version" ,
"options" : [ ] ,
"query" : {
2024-09-30 15:35:39 +02:00
"query" : "label_values(vm_app_version{job=\"$job\", instance=\"$instance\"}, version)" ,
"refId" : "StandardVariableQuery"
2022-05-23 10:32:51 +02:00
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 2 ,
"type" : "query"
}
]
} ,
"time" : {
"from" : "now-15m" ,
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
"title" : "VictoriaMetrics - operator" ,
"uid" : "1H179hunk" ,
2024-09-30 15:35:39 +02:00
"version" : 7 ,
2022-05-23 10:32:51 +02:00
"weekStart" : ""
2024-09-30 15:35:39 +02:00
}