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.

Move default scraping interval to metrics configuration

See original GitHub issue

Currently, we configure the scraping interval via the `` environment variable. This approach is deprecated and moved to scraping configuration.

With #258 this can be configured per metric and should be used over this value.

Checklist

In order to achieve this we will:

  • Update documentation on how to configure this
  • Provide clear guidance on breaking change in documentation (depends on #255)

Metrics Specification

azureMetadata:
  tenantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  subscriptionId: yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
  resourceGroupName: promitor
metricDefaults:
  scraping:
    interval: <interval>
metrics: 
  - name: demo_queue_size
    description: "Amount of active messages of the 'myqueue' queue"
    resourceType: ServiceBusQueue
    namespace: promitor-messaging
    queueName: orders
    azureMetricConfiguration:
      metricName: ActiveMessages
      aggregation:
        type: Total

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tomkerkhovecommented, Mar 27, 2019

Perfect idea, like it @brandonh-msft 👍

1reaction
brandonh-msftcommented, Mar 26, 2019

I’ll take this one too as part of the scraping interval stuff i’m doing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Optimize your scrape interval to improve data points per ...
To increase your scrape_interval , open up your Agent/Prometheus configuration file and change scrape_interval to 60s . You can learn more about configuration...
Read more >
Prometheus Operator change the scrape_interval
scrape_interval should go under the global Prometheus configuration: Prometheus configuration is YAML.
Read more >
Customize scraping of Prometheus metrics in Azure Monitor
This article provides instructions on customizing metrics scraping for a Kubernetes cluster with the metrics addon in Azure Monitor.
Read more >
OpenShift Monitoring stack: Playing with Prometheus ...
Prometheus comes configured with different jobs (or metrics) to be collected. ... Default monitoring stack scrape intervals.
Read more >
Configuration | Prometheus
A scrape_config section specifies a set of targets and parameters describing how to scrape them. In the general case, one scrape configuration specifies...
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