The label placed on the Service, the <key> being the label name, the value being the label value, even if the value is empty.
<key>
my-service Copy
my-service
Copy
Examples:
app
k8s.service.label.app
"my-service"
data
k8s.service.label.data
""
This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.
@opentelemetry/semantic-conventions
Experimental
The label placed on the Service, the
<key>being the label name, the value being the label value, even if the value is empty.Example
Example
Note
Examples:
appwith valuemy-serviceSHOULD be recorded as thek8s.service.label.appattribute with value"my-service".datawith empty string value SHOULD be recorded as thek8s.service.label.dataattribute with value"".This attribute is experimental and is subject to breaking changes in minor releases of
@opentelemetry/semantic-conventions.