Skip to content

feat: Add in generation of event names#2132

Draft
thompson-tomo wants to merge 1 commit into
open-telemetry:mainfrom
thompson-tomo:feat/#2124_EventNames
Draft

feat: Add in generation of event names#2132
thompson-tomo wants to merge 1 commit into
open-telemetry:mainfrom
thompson-tomo:feat/#2124_EventNames

Conversation

@thompson-tomo
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

I think this looks good, @thompson-tomo. Thanks for opening the PR.

file_name: "incubating/{{ctx.root_namespace | snake_case}}/metrics.rb"
params:
incubating: true
- pattern: events.j2
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.

Are all events incubating at this time? Do we need to add any to the stable group?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes I was going to add stable but first want to resolve/confirm namespacing situation.

incubating: true
- pattern: events.j2
application_mode: each
filter: '.groups | map(select(.type == "event")) | group_by(.name | split(".") | .[0]) | map({id: .[0].id | split(".") | .[1], groups: .})'
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.

I'm surprised weaver doesn't have a semconv_grouped_events filter. I checked the same spot where semconv_grouped_metrics is defined and didn't see anything. This seems to capture the events well.

Copy link
Copy Markdown
Contributor Author

@thompson-tomo thompson-tomo May 19, 2026

Choose a reason for hiding this comment

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

It is in the process of being added as it was in the docs but didnt work as wasn't implemented.

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.

2 participants