Skip to content

Make prometheus metrics follow naming conventions #332

@petethepig

Description

@petethepig

Link to naming conventions: https://prometheus.io/docs/practices/naming/

Minimally we should do things like:

  • add pyroscope_ prefix
  • add proper suffixes, like _total or _bytes
  • add tags where appropriate, e.g for badger metrics we should have trees and segments be tags, not parts of the name

This would also be a good time to get rid of metrics package I think.


After we update the names we should also update these dashboards:

  • the one in ./benchmark
  • the one in ./examples/grafana-integration
  • the one on grafana website

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendMostly go codeopsFeatures that help pyroscope operators

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions