Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[surfacers.prometheus] Allow configuring metrics prefix through a flag. #732

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

manugarg
Copy link
Contributor

  • Add a new flag --prometheus_metrics_prefix to set metrics prefix for the prometheus surfacer.

  • In a typical multi-tenant deployment, one would want to set metrics prefix for all tenants. Since configs are usually tenant specific, configs are not a good place for that, while binary flags are usually controlled by the operator, making them a good place for such settings.

- Add a new flag `--prometheus_metrics_prefix` to set metrics prefix for
 the prometheus surfacer.

- In a typical multi-tenant deployment, one would want to set metrics
prefix for all tenants. Since configs are usually tenant specific,
configs are not a good place for that, while binary flags are usually
controlled by the operator, making them a good place for such settings.
@manugarg manugarg merged commit afd7fa7 into master Apr 23, 2024
10 checks passed
@manugarg manugarg deleted the prom_prefix_flag branch April 23, 2024 03:12
@manugarg manugarg added this to the v0.13.4 milestone Apr 23, 2024
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.

None yet

1 participant