semconv.com

k8s.service.annotation

Developmenttemplate[string]as of v1.44.0

The annotation placed on the Service, the <key> being the annotation name, the value being the annotation value, even if the value is empty.

Examples:

- An annotation prometheus.io/scrape with value true SHOULD be recorded as the k8s.service.annotation.prometheus.io/scrape attribute with value "true". - An annotation data with empty string value SHOULD be recorded as the k8s.service.annotation.data attribute with value "".

Examples

Used by

entitys (1)

  • k8s.service (opt-in)

* required on that signal.

History

  1. v1.40.0

    Added as development.

Definition sourceRegistry docsJSON