{"source":"semconv","version":"1.44.0","attribute":{"id":"k8s.service.traffic_distribution","type":"string","stability":"development","brief":"The traffic distribution policy for the Service.","note":"Specifies how traffic is distributed to endpoints for this Service.\nThis attribute aligns with the `trafficDistribution` field of the\n[K8s ServiceSpec](https://kubernetes.io/docs/reference/networking/virtual-ips/#traffic-distribution).\nKnown values include `PreferSameZone` (prefer endpoints in the same zone as the client) and\n`PreferSameNode` (prefer endpoints on the same node, fallback to same zone, then cluster-wide).\nIf this field is not set on the Service, the attribute SHOULD NOT be emitted.\nWhen not set, Kubernetes distributes traffic evenly across all endpoints cluster-wide.","examples":["PreferSameZone","PreferSameNode"],"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":[]}