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

overrides-exporter exposed default as 0 #190

Open
tsanghi opened this issue Jun 11, 2021 · 0 comments
Open

overrides-exporter exposed default as 0 #190

tsanghi opened this issue Jun 11, 2021 · 0 comments

Comments

@tsanghi
Copy link

tsanghi commented Jun 11, 2021

We are currently using cortex-tools to expose Cortex Runtime Config as metrics.

If we defined the following in the runtime config:

overrides:
  tenant1:
    ingestion_burst_size: 10000

The exposed metrics will be:

# HELP cortex_overrides Various different limits.
# TYPE cortex_overrides gauge
cortex_overrides{limit_type="ingestion_burst_size",type="tenant",user="tenant1"} 10000
cortex_overrides{limit_type="ingestion_rate",type="tenant",user="tenant1"} 0

It is wrong for the ingestion_rate since it should be the defaults define in Cortex. It should be:

cortex_overrides{limit_type="ingestion_rate",type="tenant",user="tenant1"} 25000
friedrichg pushed a commit to cortexproject/cortex-tools that referenced this issue Aug 1, 2023
Signed-off-by: Tom Hayward <thayward@infoblox.com>
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

No branches or pull requests

1 participant