File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
processor/k8sattributesprocessor Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -259,11 +259,14 @@ The processor can be configured to set the
259
259
- ` otel_annotations` will translate `resource.opentelemetry.io/foo` to the `foo` resource attribute, etc.
260
260
- ` service_attributes.enabled` will populate `service.name`, `service.namespace`, `service.instance.id` and `service.version`
261
261
attributes based on Kubernetes metadata.
262
- - setting `well_known_labels` will also use following labels :
262
+ - setting `well_known_labels` will also use the following labels :
263
263
- ` app.kubernetes.io/name` -> `service.name`
264
264
- ` app.kubernetes.io/instance` -> `service.name`
265
265
- ` app.kubernetes.io/version` -> `service.version`
266
266
267
+ Note that `well_known_labels` has to be enabled explicitly, because you might already use those labels -
268
+ but don't want them to be used as `service.name` or `service.version`.
269
+
267
270
` ` ` yaml
268
271
extract:
269
272
otel_annotations: true
You can’t perform that action at this time.
0 commit comments