question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide runtime metric to indicate scraping outcome

See original GitHub issue

Provide 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
tomkerkhovecommented, May 17, 2021

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?

0reactions
salehabbascommented, May 18, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found