Skip to content

feat(attributes): Add messaging, rpc and gen_ai attributes#482

Merged
andreiborza merged 4 commits into
mainfrom
ab/otel-semconv-attributes
Jul 10, 2026
Merged

feat(attributes): Add messaging, rpc and gen_ai attributes#482
andreiborza merged 4 commits into
mainfrom
ab/otel-semconv-attributes

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 10, 2026

Copy link
Copy Markdown
Member

Adds generic OTel semantic-convention attributes: gen_ai.request.stop_sequences, rpc.system, and messaging.destination (deprecated in favor of messaging.destination.name).

OTel sem conv sources used:

@andreiborza andreiborza requested review from a team, Lms24, cleptric, mjq and nsdeschenes as code owners July 10, 2026 09:05
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add messaging, rpc and gen_ai attributes by andreiborza in #482
  • Add faas.invoked_* attributes by andreiborza in #481
  • Add AWS DynamoDB instrumentation attributes by andreiborza in #479
  • Add sentry.metric.source by klochek in #476
  • Add faas.id (deprecated) in favor of cloud.resource_id by andreiborza in #475
  • Add faas.execution (deprecated) in favor of faas.invocation_id by andreiborza in #473
  • Add messaging attributes by s1gr1d in #469
  • Add url.same_origin (deprecated) and http.request.same_origin (replacement) attributes by Lms24 in #456
  • Add db.response.status_code by s1gr1d in #462

Other

  • (ai) Add granular cost attributes for cache and reasoning by vgrozdanic in #461
  • (js) Add _BASE attribute key exports for dynamic attribute keys by Lms24 in #471

Internal Changes 🔧

  • (ci) Stop inheriting secrets for changelog-preview by tobias-wilfert in #463

🤖 This preview updates automatically when you update the PR.

@andreiborza andreiborza force-pushed the ab/faas-invoked-attributes branch from fc8c03f to acfd7bb Compare July 10, 2026 09:07
@andreiborza andreiborza force-pushed the ab/otel-semconv-attributes branch from 3615aad to 6814011 Compare July 10, 2026 09:07
@andreiborza andreiborza changed the base branch from ab/faas-invoked-attributes to main July 10, 2026 11:36
Co-Authored-By: Claude <noreply@anthropic.com>
@andreiborza andreiborza force-pushed the ab/otel-semconv-attributes branch from 6814011 to 3018afd Compare July 10, 2026 12:11

@alexander-alderman-webb alexander-alderman-webb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me for the gen_ai attribute

@@ -0,0 +1,18 @@
{
"key": "rpc.system",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we deprecate this in favour of rpc.system.name? It's what OTel does: https://opentelemetry.io/docs/specs/semconv/registry/attributes/rpc/#rpc-system

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yea, good catch. I think they just haven't done that in the aws instrumentation yet, but will do.

Comment thread model/attributes/rpc/rpc__system.json Outdated
Comment thread model/attributes/messaging/messaging__destination.json
@andreiborza andreiborza merged commit 0602a10 into main Jul 10, 2026
17 of 26 checks passed
@andreiborza andreiborza deleted the ab/otel-semconv-attributes branch July 10, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants