{"version":"2.1.265","anchor":"otel-telemetry-now-attaches-usergroups-when-present-and-saf","canonical_anchor":"otel-resource-attributes-now-include-usergroups","heading":"OTEL telemetry now includes a user.groups resource attribute","tier":"notice","area":"Telemetry","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/otel-telemetry-now-attaches-usergroups-when-present-and-saf","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### OTEL telemetry now includes a user.groups resource attribute\n\nOpenTelemetry output can now include a user.groups attribute listing the user's groups, when safe to encode\n\n**What**\n\nThe OTLP (OpenTelemetry protocol) resource-attribute builder used for telemetry now adds a `user.groups` attribute, a comma-joined list of the session's group names, alongside the existing `enduser.id` and `user.email` attributes.\n\nThe attribute is only added if none of the group names contain a comma or an equals sign, and if the URL-encoded joined string is 255 characters or less; otherwise it's left out.\n\n**Why**\n\nThis lets telemetry and observability tooling see which groups a user belongs to, while avoiding malformed or oversized attribute values.\n\n- Area: Telemetry\n- Names: `user.groups`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5"}