{"source":"semconv","version":"1.44.0","attribute":{"id":"k8s.service.selector","type":"template[string]","stability":"development","brief":"The selector key-value pair placed on the Service, the `<key>` being the selector key, the value being the selector value.","note":"These selectors are used to correlate with pod labels. Each selector key-value pair becomes a separate attribute.\n\nExamples:\n\n- A selector `app=my-app` SHOULD be recorded as\n  the `k8s.service.selector.app` attribute with value `\"my-app\"`.\n- A selector `version=v1` SHOULD be recorded as\n  the `k8s.service.selector.version` attribute with value `\"v1\"`.","examples":["my-app","v1"],"namespace":"k8s","definedIn":"model/k8s/registry.yaml","usedBy":[{"groupId":"entity.k8s.service","groupType":"entity","signalName":"k8s.service","requirementLevel":"opt_in"}]},"history":[{"version":"1.40.0","publishedAt":"2026-02-19T17:50:21Z","kind":"first-seen","detail":"Added as development.","severity":"informational"}],"replaces":[]}