Skip to content

Better organize metric names #924

@gnunn1

Description

@gnunn1

Is your feature request related to a problem? Please describe.

The documentation for the Argo CD Agent show a number of metrics available. However these metrics are named independently using "principal_" or "agent_" as prefixes with no clear relationship with Argo CD or the Argo CD Agent. When browsing metrics in dashboard tools like Grafana, Perseus or the OpenShift Console it can make it challenging for users to find the correct metric.

Describe the solution you'd like

I would like to see the metrics prefixed with "argocd_", this would align with how Argo CD handles metrics and would make it clear where these metrics are being sourced from.

Current metrics are currently prefixed with either "principal_" or "agent_" so adding "argocd_" in front of that prefix would work fine as it results in logical "argocd_principal_" and "argocd_agent_" prefixes.

Describe alternatives you've considered

None

Additional context

Documentation on Argo CD metrics is here: https://argocd-agent.readthedocs.io/latest/operations/metrics/

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions