Skip to content

Conversation

@agvol
Copy link
Contributor

@agvol agvol commented Feb 1, 2026

Fix metric format

Fix metric format
@agvol agvol changed the title Update monitoring_ui.go Update monitoring_ui.go: fix metric format Feb 1, 2026
@jedisct1
Copy link
Member

jedisct1 commented Feb 1, 2026

Can you clarify why adding commas is necessary?

@agvol
Copy link
Contributor Author

agvol commented Feb 1, 2026

Can you clarify why adding commas is necessary?

https://github.com/prometheus/OpenMetrics/blob/main/specification/OpenMetrics.md#abnf
labels = "{" [label *(COMMA label)] "}"

also, some scrapers got error, I check vmagent and telegraf

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes the Prometheus text exposition format for the dnscrypt_proxy_build_info metric by correcting the label set syntax.

Changes:

  • Add missing commas between labels in the dnscrypt_proxy_build_info{...} metric output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jedisct1 jedisct1 merged commit ab27f16 into DNSCrypt:master Feb 9, 2026
6 checks passed
@jedisct1
Copy link
Member

jedisct1 commented Feb 9, 2026

Thank you!

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