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.

@kaylareopelle kaylareopelle 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.

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.

@thompson-tomo thompson-tomo May 19, 2026

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.

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

@github-actions

Copy link
Copy Markdown
Contributor

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot

@github-actions github-actions Bot added the stale label Jun 19, 2026
@thompson-tomo

Copy link
Copy Markdown
Contributor Author

Awaiting on guidance on how to address potential naming conflicts arising from not splitting based on type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants