Skip to content

docs(logging): correct OpenTelemetry AddMeter sample#2707

Merged
jeremydmiller merged 1 commit intoJasperFx:mainfrom
stigrune:docs/meter-wildcard
May 8, 2026
Merged

docs(logging): correct OpenTelemetry AddMeter sample#2707
jeremydmiller merged 1 commit intoJasperFx:mainfrom
stigrune:docs/meter-wildcard

Conversation

@stigrune
Copy link
Copy Markdown
Contributor

@stigrune stigrune commented May 8, 2026

The OTel sample on the logging page suggests registering AddMeter("Wolverine"), but the actual exported meter is named Wolverine:{ApplicationName}.

Since AddMeter requires an exact match, the bare name silently captures zero metrics. Switching the sample to AddMeter("Wolverine*").

@jeremydmiller
Copy link
Copy Markdown
Member

@stigrune Ugh, good catch!

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