-
Notifications
You must be signed in to change notification settings - Fork 183
/
topology.json
161 lines (161 loc) · 4.52 KB
/
topology.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 31,
"iteration": 1643192418525,
"links": [],
"panels": [
{
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 23,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"interval": "",
"maxDataPoints": 1,
"pluginVersion": "7.1.1",
"targets": [
{
"expr": "increase(kindling_topology_request_total{src_namespace=~\"$namespace\", src_workload_name=~\"$workload\"}[$__range]) or increase(kindling_topology_request_total{dst_namespace=~\"$namespace\", dst_workload_name=~\"$workload\"}[$__range])",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"expr": "increase(kindling_topology_request_duration_nanoseconds_total{src_namespace=~\"$namespace\", src_workload_name=~\"$workload\"}[$__range]) or increase(kindling_topology_request_duration_nanoseconds_total{dst_namespace=~\"$namespace\", dst_workload_name=~\"$workload\"}[$__range])",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"expr": "sum (increase(kindling_entity_request_total{namespace=~\"$namespace\", workload_name=~\"$workload\"}[$__range])) by (namespace, workload_name, pod)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"expr": "sum (increase(kindling_entity_request_duration_nanoseconds_total{namespace=~\"$namespace\", workload_name=~\"$workload\"}[$__range])) by (namespace, workload_name, pod)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"expr": "sum(increase(kindling_entity_request_send_bytes_total{namespace=~\"$namespace\", workload_name=~\"$workload\"}[$__range])) by(namespace, workload_name, pod)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"expr": "sum(increase(kindling_entity_request_receive_bytes_total{namespace=~\"$namespace\", workload_name=~\"$workload\"}[$__range])) by(namespace, workload_name, pod)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
}
],
"timeFrom": null,
"timeShift": null,
"title": "topology",
"type": "kindlingproject-topology-panel"
}
],
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "kube-system",
"value": "kube-system"
},
"datasource": "Prometheus",
"definition": "kindling_topology_request_total",
"hide": 0,
"includeAll": true,
"label": "Namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "kindling_topology_request_total",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": ".*namespace=\\\"(.*?)\\\".*",
"skipUrlSync": false,
"sort": 4,
"type": "query"
},
{
"datasource": "Prometheus",
"definition": "label_values(kindling_k8s_workload_info{namespace=\"$namespace\"}, workload_name)",
"hide": 0,
"includeAll": false,
"label": "workload",
"multi": false,
"name": "workload",
"options": [],
"query": {
"query": "label_values(kindling_k8s_workload_info{namespace=\"$namespace\"}, workload_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Kindling Topology",
"uid": "MiIYJE57k",
"version": 4
}