The annotation placed on the Service, the <key> being the annotation name, the value being the annotation value, even if the value is empty.
<key>
true Copy
true
Copy
Examples:
prometheus.io/scrape
k8s.service.annotation.prometheus.io/scrape
"true"
data
k8s.service.annotation.data
""
This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.
@opentelemetry/semantic-conventions
Experimental
The annotation placed on the Service, the
<key>being the annotation name, the value being the annotation value, even if the value is empty.Example
Example
Note
Examples:
prometheus.io/scrapewith valuetrueSHOULD be recorded as thek8s.service.annotation.prometheus.io/scrapeattribute with value"true".datawith empty string value SHOULD be recorded as thek8s.service.annotation.dataattribute with value"".This attribute is experimental and is subject to breaking changes in minor releases of
@opentelemetry/semantic-conventions.