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

[BUG] AKS Managed prometheus - Big discrepancy between portal metrics and prometheus metrics #4696

Open
grzesuav opened this issue Dec 10, 2024 · 3 comments

Comments

@grzesuav
Copy link

Describe the bug
There are few metrics:

  • Active time series in Azure portal
  • Active time series % utilization in Azure portal
  • scrape_samples_scraped from prometheus - which is the number of samples the target exposed.

I cannot correlate the first two (from azure portal) with prometheus one.

Image

To Reproduce

Expected behavior

Those metrics should be in line, there is no other way currently to see the number of metrics in each job other than scrape_samples_scraped metric.

Which should be trusted ?

Additional context

Related #4159

@grzesuav grzesuav added the bug label Dec 10, 2024
@grzesuav
Copy link
Author

Continuation of topic started in #4689 @vishiy @aritraghosh

Copy link
Contributor

@vishiy, @saaror would you be able to assist?

@vishiy
Copy link

vishiy commented Dec 11, 2024

@grzesuav - how is scrape_samples_scraped equal to time-series count ? one is samples scraped (not ingested, as many could be dropped due to relabelings) and another is unique time-series (not samples).
To compare samples scraped with per minute AMW ingestion quota usage -
You should try -

sum(sum_over_time(scrape_samples_post_metric_relabeling [1m] ))

and compare with the metrics chart in the portal (for the samples/min ingested metric and not time-series).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants