4722 lines
160 KiB
YAML
4722 lines
160 KiB
YAML
---
|
||
apiVersion: v1
|
||
data:
|
||
k8s-nodes-overview.json: |-
|
||
{
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"$$hashKey": "object:247",
|
||
"builtIn": 1,
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"enable": true,
|
||
"hide": true,
|
||
"iconColor": "rgba(0, 211, 255, 1)",
|
||
"name": "Annotations & Alerts",
|
||
"target": {
|
||
"limit": 100,
|
||
"matchAny": false,
|
||
"tags": [],
|
||
"type": "dashboard"
|
||
},
|
||
"type": "dashboard"
|
||
}
|
||
]
|
||
},
|
||
"description": "【 resource overview 】2021.10.10 detail ,kubernetes Node information details ! outflow K8S Node resource overview 、 Network bandwidth per second 、Pod Resource details K8S Network overview , Optimizing important metrics display 。https://github.com/starsliao/Prometheus",
|
||
"editable": true,
|
||
"fiscalYearStartMonth": 0,
|
||
"gnetId": 15661,
|
||
"graphTooltip": 0,
|
||
"id": 1,
|
||
"links": [
|
||
{
|
||
"icon": "bolt",
|
||
"tags": [],
|
||
"targetBlank": true,
|
||
"title": "Update",
|
||
"tooltip": " Update current dashboard ",
|
||
"type": "link",
|
||
"url": "https://grafana.com/dashboards/13105"
|
||
},
|
||
{
|
||
"$$hashKey": "object:831",
|
||
"icon": "question",
|
||
"tags": [
|
||
"node_exporter"
|
||
],
|
||
"targetBlank": true,
|
||
"title": "GitHub",
|
||
"tooltip": " Overall memory usage ",
|
||
"type": "link",
|
||
"url": "https://github.com/starsliao/Prometheus"
|
||
},
|
||
{
|
||
"$$hashKey": "object:1091",
|
||
"asDropdown": true,
|
||
"icon": "external link",
|
||
"tags": [],
|
||
"targetBlank": true,
|
||
"type": "dashboards"
|
||
}
|
||
],
|
||
"panels": [
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 54,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": " Node Storage Information : Number of cores used :【$Node】",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"max": 1,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 0.8
|
||
},
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": 0.99
|
||
}
|
||
]
|
||
},
|
||
"unit": "percentunit"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 1
|
||
},
|
||
"id": 44,
|
||
"options": {
|
||
"displayMode": "basic",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 16,
|
||
"minVizWidth": 8,
|
||
"namePlacement": "auto",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"text": {},
|
||
"valueMode": "color"
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Memory Limit Rate ",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Total memory usage ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " Total Memory Demand ",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"title": " Overall core usage ",
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"max": 1,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 0.8
|
||
},
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": 0.99
|
||
}
|
||
]
|
||
},
|
||
"unit": "percentunit"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 1
|
||
},
|
||
"id": 45,
|
||
"options": {
|
||
"displayMode": "basic",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 16,
|
||
"minVizWidth": 8,
|
||
"namePlacement": "auto",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"text": {},
|
||
"valueMode": "color"
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m])) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "CPU Request Rate ",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "CPU total memory ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "CPU Nodes ",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": " container CPU proportion ",
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": " Memory Request Rate , container POD core , container POD disk ",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"max": 1000,
|
||
"min": 1,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 1000
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 2000
|
||
}
|
||
]
|
||
},
|
||
"unit": "none"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 8,
|
||
"y": 1
|
||
},
|
||
"id": 74,
|
||
"options": {
|
||
"displayMode": "basic",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 16,
|
||
"minVizWidth": 8,
|
||
"namePlacement": "auto",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"text": {},
|
||
"valueMode": "color"
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Total Cores ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "Pod core ",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " disk Pod",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"title": " microservice Pod",
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"align": "center",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": false,
|
||
"inspect": false
|
||
},
|
||
"mappings": [],
|
||
"noValue": "0",
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " use "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 8
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Pod"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 21
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "SVC"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 7
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " usage "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 4
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " memory "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 16
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " request "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 33
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 5,
|
||
"x": 11,
|
||
"y": 1
|
||
},
|
||
"id": 51,
|
||
"options": {
|
||
"cellHeight": "sm",
|
||
"footer": {
|
||
"countRows": false,
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": [
|
||
{
|
||
"desc": true,
|
||
"displayName": " use "
|
||
}
|
||
]
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}) by (namespace)",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_service_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\"}) by(container,namespace))by(namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_configmap_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "configmap",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_secret_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "secret",
|
||
"refId": "E"
|
||
}
|
||
],
|
||
"title": " average memory ",
|
||
"transformations": [
|
||
{
|
||
"id": "seriesToColumns",
|
||
"options": {
|
||
"byField": "namespace"
|
||
}
|
||
},
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"Time 1": true,
|
||
"Time 2": true,
|
||
"Time 3": true,
|
||
"Time 4": true,
|
||
"Time 5": true
|
||
},
|
||
"indexByName": {
|
||
"Time 1": 2,
|
||
"Time 2": 4,
|
||
"Time 3": 6,
|
||
"Value #A": 3,
|
||
"Value #C": 5,
|
||
"Value #D": 1,
|
||
"namespace": 0
|
||
},
|
||
"renameByName": {
|
||
"Time 1": "",
|
||
"Time 2": "",
|
||
"Value #A": "Pod",
|
||
"Value #B": " memory ",
|
||
"Value #C": "SVC",
|
||
"Value #D": " usage ",
|
||
"Value #E": " request ",
|
||
"namespace": " use "
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"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": 2,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "never",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"links": [],
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "binbps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 1
|
||
},
|
||
"id": 32,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"lastNotNull"
|
||
],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false,
|
||
"width": 200
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (rate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m]))*8",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " inflow ",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (rate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m]))*8",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " status ",
|
||
"metric": "network",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"title": "$NameSpace: selected nodes ( Associating nodes and namespaces )",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"max": 1000000000000,
|
||
"min": 1,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 800000000000
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 1000000000000
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 5
|
||
},
|
||
"id": 71,
|
||
"options": {
|
||
"displayMode": "basic",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 16,
|
||
"minVizWidth": 8,
|
||
"namePlacement": "auto",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"text": {},
|
||
"valueMode": "color"
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Requests ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Nodes ",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " total disk ",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " limit rate ",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": " Resource comprehensive display ",
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"max": 500,
|
||
"min": 1,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 500
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 1000
|
||
}
|
||
]
|
||
},
|
||
"unit": "locale"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 5
|
||
},
|
||
"id": 72,
|
||
"options": {
|
||
"displayMode": "basic",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 16,
|
||
"minVizWidth": 8,
|
||
"namePlacement": "auto",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"text": {},
|
||
"valueMode": "color"
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " usage ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[2m]))",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Nodes ",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " total disk ",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " limit rate ",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": " container CPU node ",
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 2,
|
||
"mappings": [],
|
||
"max": 8000000000000,
|
||
"min": 1,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 5000000000000
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 10000000000000
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Request Rate "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "percentunit"
|
||
},
|
||
{
|
||
"id": "max",
|
||
"value": 1
|
||
},
|
||
{
|
||
"id": "min",
|
||
"value": 0
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "percentage",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "orange",
|
||
"value": 80
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 90
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 8,
|
||
"y": 5
|
||
},
|
||
"id": 73,
|
||
"options": {
|
||
"displayMode": "basic",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 16,
|
||
"minVizWidth": 8,
|
||
"namePlacement": "auto",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"text": {},
|
||
"valueMode": "color"
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Request Rate ",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Nodes ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " name ",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": " Node memory ratio ",
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "center",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": false,
|
||
"inspect": false
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Pod"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 51
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " include "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 51
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU limit ( number )"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 63
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU total "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 54
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU total "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 58
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " memory request "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 78
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Total Memory "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 76
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Network bandwidth "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 83
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " English version "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 85
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " container name "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 84
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " config %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 92
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Memory Usage %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 63
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Network bandwidth %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 59
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU limit %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 81
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU max %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 77
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU total %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 59
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " English version %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 72
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": ".*%"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "percentunit"
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "percentage",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "orange",
|
||
"value": 80
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 90
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "( memory request | Total Memory | Memory Usage | Network bandwidth | English version | container name )"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "decimals",
|
||
"value": 2
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " container "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 96
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " memory request %"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 67
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Memory Usage "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 75
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU max "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 58
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "(CPU total | Total Memory | container name |Pod disk )"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "blue",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Pod disk "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 54
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "CPU limit \\( number \\)$| memory request $| English version $"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"type": "color-text"
|
||
}
|
||
},
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "orange",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 9
|
||
},
|
||
"id": 52,
|
||
"options": {
|
||
"cellHeight": "sm",
|
||
"footer": {
|
||
"countRows": false,
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": [
|
||
{
|
||
"desc": true,
|
||
"displayName": " English version %"
|
||
}
|
||
]
|
||
},
|
||
"pluginVersion": "11.1.4",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "pod core ",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "kube_node_status_condition{origin_prometheus=~\"$origin_prometheus\",status=\"true\",node=~\"^$Node$\"} == 1",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " include ",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m])) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "I"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"} - 0",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "J"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"}) by (node) - 0",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "G"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "H"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "K"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "L"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " memory request %",
|
||
"refId": "M"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Memory Usage %",
|
||
"refId": "N"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Network bandwidth %",
|
||
"refId": "O"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m]))by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "CPU limit %",
|
||
"refId": "P"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "CPU max %",
|
||
"refId": "Q"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Network bandwidth %",
|
||
"refId": "R"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " English version %",
|
||
"refId": "S"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})by (node)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "Pod disk ",
|
||
"refId": "T"
|
||
}
|
||
],
|
||
"title": "$Node: Node memory details ",
|
||
"transformations": [
|
||
{
|
||
"id": "merge",
|
||
"options": {}
|
||
},
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"Time": true,
|
||
"Time 1": true,
|
||
"Time 10": true,
|
||
"Time 11": true,
|
||
"Time 12": true,
|
||
"Time 13": true,
|
||
"Time 14": true,
|
||
"Time 15": true,
|
||
"Time 16": true,
|
||
"Time 17": true,
|
||
"Time 18": true,
|
||
"Time 19": true,
|
||
"Time 2": true,
|
||
"Time 20": true,
|
||
"Time 3": true,
|
||
"Time 4": true,
|
||
"Time 5": true,
|
||
"Time 6": true,
|
||
"Time 7": true,
|
||
"Time 8": true,
|
||
"Time 9": true,
|
||
"Value #B": true,
|
||
"Value #E": false,
|
||
"Value #F": false,
|
||
"__name__": true,
|
||
"app_kubernetes_io_name": true,
|
||
"app_kubernetes_io_name 1": true,
|
||
"app_kubernetes_io_name 2": true,
|
||
"app_kubernetes_io_name 3": true,
|
||
"app_kubernetes_io_version": true,
|
||
"app_kubernetes_io_version 1": true,
|
||
"app_kubernetes_io_version 2": true,
|
||
"app_kubernetes_io_version 3": true,
|
||
"condition": false,
|
||
"instance": true,
|
||
"instance 1": true,
|
||
"instance 2": true,
|
||
"instance 3": true,
|
||
"job": true,
|
||
"job 1": true,
|
||
"job 2": true,
|
||
"job 3": true,
|
||
"k8s_namespace": true,
|
||
"k8s_namespace 1": true,
|
||
"k8s_namespace 2": true,
|
||
"k8s_namespace 3": true,
|
||
"k8s_sname": true,
|
||
"k8s_sname 1": true,
|
||
"k8s_sname 2": true,
|
||
"k8s_sname 3": true,
|
||
"origin_prometheus": true,
|
||
"origin_prometheus 1": true,
|
||
"origin_prometheus 2": true,
|
||
"origin_prometheus 3": true,
|
||
"resource": true,
|
||
"status": true,
|
||
"unit": true
|
||
},
|
||
"indexByName": {
|
||
"Time": 26,
|
||
"Value #A": 3,
|
||
"Value #B": 6,
|
||
"Value #C": 7,
|
||
"Value #D": 14,
|
||
"Value #E": 10,
|
||
"Value #F": 12,
|
||
"Value #G": 17,
|
||
"Value #H": 19,
|
||
"Value #I": 8,
|
||
"Value #J": 15,
|
||
"Value #K": 22,
|
||
"Value #L": 21,
|
||
"Value #M": 16,
|
||
"Value #N": 18,
|
||
"Value #O": 20,
|
||
"Value #P": 9,
|
||
"Value #Q": 11,
|
||
"Value #R": 13,
|
||
"Value #S": 23,
|
||
"Value #T": 2,
|
||
"__name__": 4,
|
||
"app_kubernetes_io_name": 27,
|
||
"app_kubernetes_io_version": 28,
|
||
"condition": 1,
|
||
"instance": 29,
|
||
"job": 30,
|
||
"k8s_namespace": 31,
|
||
"k8s_sname": 32,
|
||
"node": 0,
|
||
"origin_prometheus": 33,
|
||
"resource": 24,
|
||
"status": 5,
|
||
"unit": 25
|
||
},
|
||
"renameByName": {
|
||
"Value #A": "Pod",
|
||
"Value #C": "CPU total ",
|
||
"Value #D": " Total Memory ",
|
||
"Value #E": "CPU max ",
|
||
"Value #F": "CPU total ",
|
||
"Value #G": " Memory Usage ",
|
||
"Value #H": " Network bandwidth ",
|
||
"Value #I": "CPU limit ( number )",
|
||
"Value #J": " memory request ",
|
||
"Value #K": " English version ",
|
||
"Value #L": " container name ",
|
||
"Value #M": " memory request %",
|
||
"Value #N": " Memory Usage %",
|
||
"Value #O": " Network bandwidth %",
|
||
"Value #P": "CPU limit %",
|
||
"Value #Q": "CPU max %",
|
||
"Value #R": "CPU total %",
|
||
"Value #S": " English version %",
|
||
"Value #T": "Pod disk ",
|
||
"condition": " include ",
|
||
"node": " container "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "filterFieldsByName",
|
||
"options": {}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"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": "percent"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/ usage .*/"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#C4162A",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 17
|
||
},
|
||
"id": 75,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"lastNotNull",
|
||
"max"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m]))by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)*100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "{{node}}",
|
||
"refId": "I"
|
||
}
|
||
],
|
||
"title": "$Node: container CPU receive ",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"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": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 17
|
||
},
|
||
"id": 76,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"lastNotNull",
|
||
"max"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)*100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "{{node}}",
|
||
"refId": "I"
|
||
}
|
||
],
|
||
"title": "$Node: Node Memory Information ",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"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"
|
||
}
|
||
},
|
||
"links": [],
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "binbps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 17
|
||
},
|
||
"id": 78,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"lastNotNull",
|
||
"max"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}[2m]))by (node) *8",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " update :{{node}}",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}[2m]))by (node) *8",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " restart :{{node}}",
|
||
"metric": "network",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"title": "$Node: Overall resource overview ",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 27
|
||
},
|
||
"id": 61,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "center",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": false
|
||
},
|
||
"displayName": "",
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "percentage",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "orange",
|
||
"value": 70
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 90
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": ".*%.*"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "percent"
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "gauge"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": " Requests .*"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Number of cluster nodes "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "orange",
|
||
"value": 10737418240
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 16106127360
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.width",
|
||
"value": 90
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": ".* total "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "blue",
|
||
"mode": "fixed"
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " total CPU total "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 84
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Total Disk Usage "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 77
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Selected microservices (RSS) "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 119
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Total memory limit "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 82
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " limit amount "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 69
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "orange"
|
||
},
|
||
{
|
||
"color": "green",
|
||
"value": 2
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Resource Details %(RSS)"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 112
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " password CPU%( overall 100%)"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 150
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Node Network Overview "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 100
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " total CPU selected "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 82
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Resource Details %(WSS)"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 130
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Selected microservices (WSS)"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 120
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " average memory "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 79
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": " Node Network Overview $| Selected microservices \\(WSS\\)$| Selected microservices \\(RSS\\) $"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "orange",
|
||
"mode": "fixed"
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"type": "color-text"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " container number "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 149
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 2
|
||
},
|
||
"id": 57,
|
||
"options": {
|
||
"showHeader": true,
|
||
"sortBy": [
|
||
{
|
||
"desc": true,
|
||
"displayName": " container number "
|
||
}
|
||
]
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}/100000) by (container)) * 100",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Node Network Overview ",
|
||
"refId": "L"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "I"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Resource Details %(RSS)",
|
||
"refId": "H"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": " Selected microservices (RSS) ",
|
||
"refId": "K"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum(container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "J"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by(container,namespace) - 0",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "G"
|
||
}
|
||
],
|
||
"title": " usage ( container number ) namespace ",
|
||
"transformations": [
|
||
{
|
||
"id": "merge",
|
||
"options": {}
|
||
},
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"Time": true,
|
||
"Time 1": true,
|
||
"Time 10": true,
|
||
"Time 11": true,
|
||
"Time 12": true,
|
||
"Time 2": true,
|
||
"Time 3": true,
|
||
"Time 4": true,
|
||
"Time 5": true,
|
||
"Time 6": true,
|
||
"Time 7": true,
|
||
"Time 8": true,
|
||
"Time 9": true
|
||
},
|
||
"indexByName": {
|
||
"Time 1": 2,
|
||
"Time 10": 20,
|
||
"Time 11": 22,
|
||
"Time 12": 24,
|
||
"Time 2": 4,
|
||
"Time 3": 6,
|
||
"Time 4": 8,
|
||
"Time 5": 10,
|
||
"Time 6": 12,
|
||
"Time 7": 14,
|
||
"Time 8": 16,
|
||
"Time 9": 18,
|
||
"Value #A": 3,
|
||
"Value #B": 7,
|
||
"Value #C": 9,
|
||
"Value #D": 13,
|
||
"Value #E": 19,
|
||
"Value #F": 21,
|
||
"Value #G": 25,
|
||
"Value #H": 15,
|
||
"Value #I": 11,
|
||
"Value #J": 23,
|
||
"Value #K": 17,
|
||
"Value #L": 5,
|
||
"container": 1,
|
||
"namespace": 0
|
||
},
|
||
"renameByName": {
|
||
"Time 1": "",
|
||
"Value #A": " password CPU%( overall 100%)",
|
||
"Value #B": " total CPU selected ",
|
||
"Value #C": " total CPU total ",
|
||
"Value #D": " Selected microservices (WSS)",
|
||
"Value #E": " Total memory limit ",
|
||
"Value #F": " Total Disk Usage ",
|
||
"Value #G": " limit amount ",
|
||
"Value #H": " Resource Details %(RSS)",
|
||
"Value #I": " Resource Details %(WSS)",
|
||
"Value #J": " Number of cluster nodes ",
|
||
"Value #K": " Selected microservices (RSS) ",
|
||
"Value #L": " Node Network Overview ",
|
||
"container": " container number ",
|
||
"namespace": " average memory "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "filterFieldsByName",
|
||
"options": {}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"decimals": 3,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 10
|
||
},
|
||
"height": "",
|
||
"hiddenSeries": false,
|
||
"id": 24,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "7.5.11",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum(rate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}/100000) by (container)) * 100",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ container}}",
|
||
"metric": "container_cpu",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": " usage ( container number ) password CPU Request Rate ( overall 100%)",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:5607",
|
||
"format": "percent",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:5608",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 10
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 59,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "7.5.11",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "WSS:{{ container }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "RSS:{{ container }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": " usage ( container number ) Microservice resource details ",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:5686",
|
||
"format": "percent",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:5687",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
" restart :wholion-lbs": "green",
|
||
" update :wholion-lbs": "purple"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 10
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 16,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": true,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "7.5.11",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(container) *8",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " update :{{ container }}",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(container) *8",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " restart :{{ container }}",
|
||
"metric": "network",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (rate (container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)",
|
||
"hide": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "-> {{ pod }}",
|
||
"metric": "network",
|
||
"refId": "C",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "- sum (rate (container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)",
|
||
"hide": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "<- {{ pod }}",
|
||
"metric": "network",
|
||
"refId": "D",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": " usage ( container number ) Container memory usage ( Memory Usage )",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:8106",
|
||
"format": "binbps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:8107",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": " usage ( container number ) Memory Requirements : Associated nodes :【$Container】",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 28
|
||
},
|
||
"id": 49,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "center",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": false
|
||
},
|
||
"displayName": "",
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "percentage",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 80
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 90
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU%( overall 100%)"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 140
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " average memory "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 78
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Pod core count "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 136
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " core usage "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 71
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU selected "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 68
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "CPU total "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 65
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "WSS%"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 129
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "WSS"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 73
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "RSS%"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 132
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "RSS"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 68
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " resource statistics "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 69
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " Network bandwidth "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 71
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " send "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 67
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 1
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 3
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " demand "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 71
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 10737418240
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 16106127360
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": ".*%.*"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "percent"
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "gauge"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": " config .*|WSS$|RSS$"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": ".* total "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "blue",
|
||
"mode": "fixed"
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " container "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 87
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": " core usage $|WSS$|RSS$"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"type": "color-text"
|
||
}
|
||
},
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "orange",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": " container number "
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 116
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 3
|
||
},
|
||
"id": 47,
|
||
"options": {
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}/100000) by (container, pod,node,namespace)) * 100",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "CPU disk usage ",
|
||
"refId": "Q"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace) * 100",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "wss%",
|
||
"refId": "I"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "wss",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace) * 100",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "rss%",
|
||
"refId": "L"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "rss",
|
||
"refId": "K"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
|
||
"format": "table",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "J"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "kube_pod_container_status_restarts_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"} * on (pod) group_left(node) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "H"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "cass_jvm_heap{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}",
|
||
"format": "table",
|
||
"hide": true,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "M"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "cass_jvm_heap_max{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}",
|
||
"format": "table",
|
||
"hide": true,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "N"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "cass_jvm_noheap{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}",
|
||
"format": "table",
|
||
"hide": true,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "O"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "cass_jvm_noheap_max{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}",
|
||
"format": "table",
|
||
"hide": true,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "P"
|
||
}
|
||
],
|
||
"title": "$Node:Pod Memory Limit ( Memory Usage )",
|
||
"transformations": [
|
||
{
|
||
"id": "merge",
|
||
"options": {}
|
||
},
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"Time": true,
|
||
"Time 1": true,
|
||
"Time 10": true,
|
||
"Time 11": true,
|
||
"Time 12": true,
|
||
"Time 13": true,
|
||
"Time 2": true,
|
||
"Time 3": true,
|
||
"Time 4": true,
|
||
"Time 5": true,
|
||
"Time 6": true,
|
||
"Time 7": true,
|
||
"Time 8": true,
|
||
"Time 9": true,
|
||
"Value #G": true,
|
||
"__name__": true,
|
||
"app_kubernetes_io_name": true,
|
||
"app_kubernetes_io_name 1": true,
|
||
"app_kubernetes_io_name 2": true,
|
||
"app_kubernetes_io_version": true,
|
||
"app_kubernetes_io_version 1": true,
|
||
"app_kubernetes_io_version 2": true,
|
||
"container 1": true,
|
||
"container 10": true,
|
||
"container 11": true,
|
||
"container 12": true,
|
||
"container 2": true,
|
||
"container 3": true,
|
||
"container 4": true,
|
||
"container 5": true,
|
||
"container 6": true,
|
||
"container 7": true,
|
||
"container 8": true,
|
||
"container 9": true,
|
||
"created_by_kind": true,
|
||
"created_by_name": true,
|
||
"host_ip": true,
|
||
"instance": true,
|
||
"instance 1": true,
|
||
"instance 2": true,
|
||
"job": true,
|
||
"job 1": true,
|
||
"job 2": true,
|
||
"k8s_namespace": true,
|
||
"k8s_namespace 1": true,
|
||
"k8s_namespace 2": true,
|
||
"k8s_sname": true,
|
||
"k8s_sname 1": true,
|
||
"k8s_sname 2": true,
|
||
"namespace": false,
|
||
"namespace 1": true,
|
||
"namespace 10": true,
|
||
"namespace 11": true,
|
||
"namespace 12": false,
|
||
"namespace 2": true,
|
||
"namespace 3": true,
|
||
"namespace 4": true,
|
||
"namespace 5": true,
|
||
"namespace 6": true,
|
||
"namespace 7": true,
|
||
"namespace 8": true,
|
||
"namespace 9": true,
|
||
"node 1": true,
|
||
"node 10": true,
|
||
"node 11": false,
|
||
"node 12": true,
|
||
"node 2": true,
|
||
"node 3": true,
|
||
"node 4": true,
|
||
"node 5": true,
|
||
"node 6": true,
|
||
"node 7": true,
|
||
"node 8": true,
|
||
"node 9": true,
|
||
"origin_prometheus": true,
|
||
"origin_prometheus 1": true,
|
||
"origin_prometheus 2": true,
|
||
"phase": true,
|
||
"pod_ip": true,
|
||
"priority_class": true,
|
||
"uid": true
|
||
},
|
||
"indexByName": {
|
||
"Time": 23,
|
||
"Value #A": 4,
|
||
"Value #B": 6,
|
||
"Value #C": 7,
|
||
"Value #D": 9,
|
||
"Value #E": 12,
|
||
"Value #F": 13,
|
||
"Value #H": 22,
|
||
"Value #I": 8,
|
||
"Value #J": 14,
|
||
"Value #K": 11,
|
||
"Value #L": 10,
|
||
"Value #Q": 5,
|
||
"app_kubernetes_io_name": 15,
|
||
"app_kubernetes_io_version": 16,
|
||
"container": 2,
|
||
"instance": 17,
|
||
"job": 18,
|
||
"k8s_namespace": 19,
|
||
"k8s_sname": 20,
|
||
"namespace": 1,
|
||
"node": 0,
|
||
"origin_prometheus": 21,
|
||
"pod": 3
|
||
},
|
||
"renameByName": {
|
||
"Value #A": "CPU%( overall 100%)",
|
||
"Value #B": "CPU selected ",
|
||
"Value #C": "CPU total ",
|
||
"Value #D": "WSS",
|
||
"Value #E": " resource statistics ",
|
||
"Value #F": " Network bandwidth ",
|
||
"Value #H": " send ",
|
||
"Value #I": "WSS%",
|
||
"Value #J": " demand ",
|
||
"Value #K": "RSS",
|
||
"Value #L": "RSS%",
|
||
"Value #Q": " core usage ",
|
||
"container": " container number ",
|
||
"namespace": " average memory ",
|
||
"namespace 1": "",
|
||
"namespace 12": " average memory ",
|
||
"node": " container ",
|
||
"node 1": "",
|
||
"node 11": " container ",
|
||
"pod": "Pod core count ",
|
||
"priority_class": ""
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "filterFieldsByName",
|
||
"options": {
|
||
"include": {
|
||
"names": [
|
||
" container ",
|
||
" average memory ",
|
||
"Pod core count ",
|
||
"CPU%( overall 100%)",
|
||
" core usage ",
|
||
"CPU selected ",
|
||
"CPU total ",
|
||
"WSS%",
|
||
"WSS",
|
||
"RSS%",
|
||
"RSS",
|
||
" resource statistics ",
|
||
" Network bandwidth ",
|
||
" demand ",
|
||
" send ",
|
||
" container number "
|
||
]
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 11
|
||
},
|
||
"height": "",
|
||
"hiddenSeries": false,
|
||
"id": 58,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "7.5.11",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}/100000) by (container, pod)) * 100",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ pod }}",
|
||
"metric": "container_cpu",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pod upper limit CPU Request Rate ( overall 100% Memory Usage )",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:5607",
|
||
"format": "percent",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:5608",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 11
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 27,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": true,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": false,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "7.5.11",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod) * 100",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "WSS:{{ pod }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod) * 100",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "RSS:{{ pod }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "(cass_jvm_heap{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}) / (cass_jvm_heap_max{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}) * 100",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Heap:{{ pod }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pod View more dashboards ( Memory Usage )",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:5686",
|
||
"format": "percent",
|
||
"logBase": 1,
|
||
"max": "100",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:5687",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
" restart :wholion-lbs": "green",
|
||
" update :wholion-lbs": "purple"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 11
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 77,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": true,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "7.5.11",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(pod) *8",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " update :{{ pod}}",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(pod) *8",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": " restart :{{ pod}}",
|
||
"metric": "network",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "sum (rate (container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)",
|
||
"hide": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "-> {{ pod }}",
|
||
"metric": "network",
|
||
"refId": "C",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"expr": "- sum (rate (container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)",
|
||
"hide": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "<- {{ pod }}",
|
||
"metric": "network",
|
||
"refId": "D",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pod Container memory usage ( Memory Usage )",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:8106",
|
||
"format": "binbps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:8107",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Pod Memory Requirements : space Pod:【$Pod】",
|
||
"type": "row"
|
||
}
|
||
],
|
||
"refresh": "",
|
||
"schemaVersion": 39,
|
||
"tags": [
|
||
"StarsL.cn",
|
||
"Prometheus",
|
||
"Kubernetes"
|
||
],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"allValue": "",
|
||
"current": {
|
||
"isNone": true,
|
||
"selected": true,
|
||
"text": "None",
|
||
"value": ""
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(origin_prometheus)",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "K8S",
|
||
"multi": false,
|
||
"name": "origin_prometheus",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(origin_prometheus)",
|
||
"refId": "Prometheus-origin_prometheus-Variable-Query"
|
||
},
|
||
"refresh": 2,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": "",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(kube_node_info{origin_prometheus=~\"$origin_prometheus\"},node)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": " container ",
|
||
"multi": false,
|
||
"name": "Node",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(kube_node_info{origin_prometheus=~\"$origin_prometheus\"},node)",
|
||
"refId": "Prometheus-Node-Variable-Query"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": "",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(kube_namespace_labels{origin_prometheus=~\"$origin_prometheus\"},namespace)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": " average memory ",
|
||
"multi": false,
|
||
"name": "NameSpace",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(kube_namespace_labels{origin_prometheus=~\"$origin_prometheus\"},namespace)",
|
||
"refId": "Prometheus-NameSpace-Variable-Query"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\"},container)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": " usage ( container number )",
|
||
"multi": false,
|
||
"name": "Container",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\"},container)",
|
||
"refId": "Prometheus-Container-Variable-Query"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container=~\"$Container\"},pod)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "Pod",
|
||
"multi": false,
|
||
"name": "Pod",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container=~\"$Container\"},pod)",
|
||
"refId": "Prometheus-Pod-Variable-Query"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-30m",
|
||
"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": "browser",
|
||
"title": "1 K8S for Prometheus Dashboard 20211010 EN",
|
||
"uid": "PwMJtdvnz",
|
||
"version": 1,
|
||
"weekStart": ""
|
||
}
|
||
kind: ConfigMap
|
||
metadata:
|
||
annotations:
|
||
grafana_folder: common
|
||
labels:
|
||
grafana_dashboard: "1"
|
||
name: lgtm-k8s-nodes-overview
|
||
namespace: otel-lgtm-stack
|