Skip to content

Prometheus prefix#51

Merged
coot merged 1 commit into
mainfrom
coot/prometheus-prefix
Apr 8, 2026
Merged

Prometheus prefix#51
coot merged 1 commit into
mainfrom
coot/prometheus-prefix

Conversation

@coot
Copy link
Copy Markdown
Contributor

@coot coot commented Apr 8, 2026

  • Prometheus doesn't allow for dash in metric names, they are rewritten
    with an underscore.
  • Trace dispatcher is using . for name space prefixes, so we terminate
    it with a dot rather than _ (trace dispatcher will rewrite it into
    _).

Credits go to @mgmeier for spotting the inconsitencies.

* Prometheus doesn't allow for dash in metric names, they are rewritten
  with an underscore.
* Trace dispatcher is using `.` for name space prefixes, so we terminate
  it with a dot rather than `_` (trace dispatcher will rewrite it into
  `_`).
Copy link
Copy Markdown
Contributor

@karknu karknu left a comment

Choose a reason for hiding this comment

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

LGTM.

@coot coot added this pull request to the merge queue Apr 8, 2026
Merged via the queue into main with commit bd5fbf6 Apr 8, 2026
8 of 9 checks passed
@coot coot deleted the coot/prometheus-prefix branch April 8, 2026 14:03
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Ouroboros Network Apr 8, 2026
@coot coot linked an issue Apr 20, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Proper logging system

2 participants