Skip to content

Some metrcic names do not follow Prometheus convention #306

@alexbozhenko

Description

@alexbozhenko

There are some best practices on how to name the metrics:
https://prometheus.io/docs/practices/naming/

We do not follow them with some of our metrics:
For example, for jetstream_api_requests, should be jetstream_api_request_total.
Grafana complains about this:
Image

When metrics are scraped by otel collectior, it also causes confusion, since otel collector would add the _total suffixes, thus requiring to fix the metric names in the dashboards.

We should fix the metric names to follow Prometheus recommendations, and fix the dashboards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSuspected defect such as a bug or regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions