Move default scraping interval to metrics configuration
See original GitHub issueCurrently, 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:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top 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 >
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

Perfect idea, like it @brandonh-msft 👍
I’ll take this one too as part of the scraping interval stuff i’m doing