-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmetrics.json
60 lines (60 loc) · 2.46 KB
/
metrics.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"KUBERNETES_NODE_CPU_UTILIZATION": {
"defaultAggregate": "AVG",
"defaultResolutionMS": 5000,
"description": "CPU utilization percentage for Kubernetes node",
"displayName": "Kubernetes Node CPU Utilization",
"displayNameShort": "kub-node-cpu-util",
"unit": "number",
"endpoints": {
"loopBy": [ { "name": "node", "endpoint": "/nodes" } ],
"final": "/metrics/cpu/usage_rate"
},
"resultPath": [ "metrics", "value" ],
"postprocessors": [ "castCPUToPercentage" ],
"instanceType": "node"
},
"KUBERNETES_NODE_MEMORY_UTILIZATION": {
"defaultAggregate": "AVG",
"defaultResolutionMS": 5000,
"description": "Memory utilization percentage for Kubernetes node",
"displayName": "Kubernetes Node Memory Utilization",
"displayNameShort": "kub-node-memo-util",
"unit": "number",
"endpoints": {
"loopBy": [ { "name": "node", "endpoint": "/nodes" } ],
"final": "/metrics/memory/usage"
},
"resultPath": [ "metrics", "value" ],
"postprocessors": [ "castMemoToPercentage" ],
"instanceType": "node"
},
"KUBERNETES_POD_CPU_UTILIZATION": {
"defaultAggregate": "AVG",
"defaultResolutionMS": 5000,
"description": "CPU utilization in absolute units for Kubernetes pod",
"displayName": "Kubernetes Pod CPU Utilization",
"displayNameShort": "kub-pod-cpu-util",
"unit": "number",
"endpoints": {
"loopBy": [ { "name": "namespace", "endpoint": "/namespaces" }, { "name": "pod", "endpoint": "/pods" } ],
"final": "/metrics/cpu/usage_rate"
},
"resultPath": [ "metrics", "value" ],
"instanceType": "pod"
},
"KUBERNETES_POD_MEMORY_UTILIZATION": {
"defaultAggregate": "AVG",
"defaultResolutionMS": 5000,
"description": "Memory utilization in absolute units for Kubernetes pod",
"displayName": "Kubernetes Pod Memory Utilization",
"displayNameShort": "kub-pod-memo-util",
"unit": "number",
"endpoints": {
"loopBy": [ { "name": "namespace", "endpoint": "/namespaces" }, { "name": "pod", "endpoint": "/pods" } ],
"final": "/metrics/memory/usage"
},
"resultPath": [ "metrics", "value" ],
"instanceType": "pod"
}
}