Skip to content

Don't panic on gathering top providers metrics - #252

Merged
byo merged 3 commits into
mainfrom
fix-top-providers-metrics
Jun 16, 2026
Merged

Don't panic on gathering top providers metrics#252
byo merged 3 commits into
mainfrom
fix-top-providers-metrics

Conversation

@byo

@byo byo commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Use .String() method of provider.ID entry instead of using string(id) cast as the id may not be a valid UTF-8 sequence that causes panics when emitting metrics with such label.

Use .String() method of provider.ID entry instead
of using string(id) cast as the id may not be a valid
UTF-8 sequence that causes panics when emitting
metrics with such label.
@byo
byo requested review from nymd and willscott June 16, 2026 08:55
@byo byo self-assigned this Jun 16, 2026
@byo
byo force-pushed the fix-top-providers-metrics branch from 9ecd1f9 to 008589c Compare June 16, 2026 09:37
@byo
byo force-pushed the fix-top-providers-metrics branch from 4c0b848 to 70d5585 Compare June 16, 2026 12:12
@byo
byo merged commit d2cef88 into main Jun 16, 2026
6 checks passed
@byo
byo deleted the fix-top-providers-metrics branch June 16, 2026 13:33
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