Provide runtime metric to indicate scraping outcome
See original GitHub issueProvide runtime metric to indicate scraping outcome to monitor how it is performing.
Current thinking is to have an aggregate with the outcome and metric name to get more detailed information.
We can have one metric:
promitor_scraper_result { metricName: azure_cosmos_db_total_requests, label: outcome }
Or dedicated per outcome:
promitor_scraper_result_success { metricName: azure_cosmos_db_total_requests }
promitor_scraper_result_failure { metricName: azure_cosmos_db_total_requests }
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Scraping controller-runtime Prometheus Metrics Locally
Here is an extremely simple configuration that will inform Prometheus where to get our provider-aws metrics from, as well as where to scrape...
Read more >Collect metrics - .NET
Before metrics can be collected, measurements must be produced. This tutorial creates an app that has basic metric instrumentation. The .
Read more >Prometheus Metrics, Implementing your Application
The Prometheus project includes a collection of client libraries which allow metrics to be published so they can then be collected (or “scraped” ......
Read more >Prometheus Metrics: A Practical Guide
The core Prometheus app – This is responsible for scraping and storing metrics in an internal time series database, or sending data to...
Read more >57. Metrics
Prometheus expects to scrape or poll individual app instances for metrics. Spring Boot provides an actuator endpoint available at /actuator/prometheus to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The reasoning was that you would know what metric I’m unable to serve so you have more detailed info.
If it has no labels, you know something is wrong but need to plow through the logs instead,no?
That looks good, Tom! And if someone (like me) wants to monitor the overall of the scrape agent health, it can be matter of a PromQL expression. Thanks