Skip to content

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

Merged
manugarg merged 1 commit into
masterfrom
prom_prefix_flag
Apr 23, 2024
Merged

manugarg merged 1 commit into
masterfrom
prom_prefix_flag

Conversation

@manugarg

Copy link
Copy Markdown
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
@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.

1 participant