The selector key-value pair placed on the Service, the <key> being the selector key, the value being the selector value.
<key>
my-app Copy
my-app
v1 Copy
v1
These selectors are used to correlate with pod labels. Each selector key-value pair becomes a separate attribute.
Examples:
app=my-app
k8s.service.selector.app
"my-app"
version=v1
k8s.service.selector.version
"v1"
This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.
@opentelemetry/semantic-conventions
Experimental
The selector key-value pair placed on the Service, the
<key>being the selector key, the value being the selector value.Example
Example
Note
These selectors are used to correlate with pod labels. Each selector key-value pair becomes a separate attribute.
Examples:
app=my-appSHOULD be recorded as thek8s.service.selector.appattribute with value"my-app".version=v1SHOULD be recorded as thek8s.service.selector.versionattribute with value"v1".This attribute is experimental and is subject to breaking changes in minor releases of
@opentelemetry/semantic-conventions.