-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathmetadata.yaml
More file actions
217 lines (214 loc) · 5.67 KB
/
metadata.yaml
File metadata and controls
217 lines (214 loc) · 5.67 KB
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
type: k8sattributes
status:
class: processor
stability:
beta: [logs, metrics, traces]
distributions: [contrib]
codeowners:
active: [dmitryax, fatsheep9146, TylerHelmuth]
emeritus: [rmfitzpatrick]
# resource attributes are exposed through a different configuration interface (extract::metadata).
resource_attributes:
k8s.cluster.uid:
description: Gives cluster uid identified with kube-system namespace
type: string
enabled: false
k8s.namespace.name:
description: The name of the namespace that the pod is running in.
type: string
enabled: true
k8s.pod.name:
description: The name of the Pod.
type: string
enabled: true
k8s.pod.uid:
description: The UID of the Pod.
type: string
enabled: true
k8s.pod.hostname:
description: The hostname of the Pod.
type: string
enabled: false
k8s.pod.start_time:
description: The start time of the Pod.
type: string
enabled: true
k8s.pod.ip:
description: The IP address of the Pod.
type: string
enabled: false
k8s.deployment.name:
description: The name of the Deployment.
type: string
enabled: true
k8s.deployment.uid:
description: The UID of the Deployment.
type: string
enabled: false
k8s.replicaset.name:
description: The name of the ReplicaSet.
type: string
enabled: false
k8s.replicaset.uid:
description: The UID of the ReplicaSet.
type: string
enabled: false
k8s.daemonset.name:
description: The name of the DaemonSet.
type: string
enabled: false
k8s.daemonset.uid:
description: The UID of the DaemonSet.
type: string
enabled: false
k8s.statefulset.name:
description: The name of the StatefulSet.
type: string
enabled: false
k8s.statefulset.uid:
description: The UID of the StatefulSet.
type: string
enabled: false
k8s.container.name:
description: The name of the Container in a Pod template. Requires container.id.
type: string
enabled: false
k8s.job.name:
description: The name of the Job.
type: string
enabled: false
k8s.job.uid:
description: The UID of the Job.
type: string
enabled: false
k8s.cronjob.name:
description: The name of the CronJob.
type: string
enabled: false
k8s.node.name:
description: The name of the Node.
type: string
enabled: true
k8s.node.uid:
description: The UID of the Node.
type: string
enabled: false
container.id:
description: Container ID. Usually a UUID, as for example used to identify Docker containers. The UUID might be abbreviated. Requires k8s.container.restart_count.
type: string
enabled: false
container.image.name:
description: Name of the image the container was built on. Requires container.id or k8s.container.name.
type: string
enabled: true
container.image.repo_digests:
description: Repo digests of the container image as provided by the container runtime.
type: slice
enabled: false
container.image.tag:
description: Container image tag. Requires container.id or k8s.container.name.
type: string
enabled: true
tests:
config:
goleak:
skip: true
telemetry:
metrics:
otelsvc_k8s_pod_updated:
enabled: true
description: Number of pod update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_pod_added:
enabled: true
description: Number of pod add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_pod_deleted:
enabled: true
description: Number of pod delete events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_pod_table_size:
enabled: true
description: Size of table containing pod info
unit: "1"
gauge:
value_type: int
otelsvc_k8s_ip_lookup_miss:
enabled: true
description: Number of times pod by IP lookup failed.
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_namespace_updated:
enabled: true
description: Number of namespace update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_namespace_added:
enabled: true
description: Number of namespace add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_namespace_deleted:
enabled: true
description: Number of namespace delete events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_node_updated:
enabled: true
description: Number of node update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_node_added:
enabled: true
description: Number of node add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_node_deleted:
enabled: true
description: Number of node delete events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_replicaset_updated:
enabled: true
description: Number of ReplicaSet update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_replicaset_added:
enabled: true
description: Number of ReplicaSet add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_replicaset_deleted:
enabled: true
description: Number of ReplicaSet delete events received
unit: "1"
sum:
value_type: int
monotonic: true