Skip to content

Commit 4a10785

Browse files
committed
added note
1 parent 70183a2 commit 4a10785

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

processor/k8sattributesprocessor/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,14 @@ The processor can be configured to set the
259259
- `otel_annotations` will translate `resource.opentelemetry.io/foo` to the `foo` resource attribute, etc.
260260
- `service_attributes.enabled` will populate `service.name`, `service.namespace`, `service.instance.id` and `service.version`
261261
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:
263263
- `app.kubernetes.io/name` -> `service.name`
264264
- `app.kubernetes.io/instance` -> `service.name`
265265
- `app.kubernetes.io/version` -> `service.version`
266266

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+
267270
```yaml
268271
extract:
269272
otel_annotations: true

0 commit comments

Comments
 (0)