You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@ Main (unreleased)
47
47
48
48
-`prometheus.exporter.postgres` dependency has been updated to v0.18.1. This includes new `stat_progress_vacuum` and `buffercache_summary` collectors, as well as other bugfixes and enhancements. (@cristiangreco)
49
49
50
+
-`prometheus.exporter.azure` now supports `concurrency_subscription` and `concurrency_subscription_resource` arguments to control the number of concurrent API requests made to Azure Monitor. (@akselleirv)
51
+
50
52
### Bugfixes
51
53
52
54
- Stop `loki.source.kubernetes` discarding log lines with duplicate timestamps. (@ciaranj)
|`metrics`|`list(string)`| The metrics to scrape from resources. || yes |
72
-
|`resource_type`|`string`| The Azure Resource Type to scrape metrics for. || yes |
73
-
|`subscriptions`|`list(string)`| List of subscriptions to scrape metrics from. || yes |
74
-
|`azure_cloud_environment`|`string`| Name of the cloud environment to connect to. |`"azurecloud"`| no |
75
-
|`included_dimensions`|`list(string)`| List of dimensions to include on the final metrics. || no |
76
-
|`included_resource_tags`|`list(string)`| List of resource tags to include on the final metrics. |`["owner"]`| no |
77
-
|`metric_aggregations`|`list(string)`| Aggregations to apply for the metrics produced. || no |
78
-
|`metric_help_template`|`string`| Description of the metric. |`"Azure metric {metric} for {type} with aggregation {aggregation} as {unit}"`| no |
79
-
|`metric_name_template`|`string`| Metric template used to expose the metrics. |`"azure_{type}_{metric}_{aggregation}_{unit}"`| no |
80
-
|`metric_namespace`|`string`| Namespace for `resource_type` which have multiple levels of metrics. || no |
81
-
|`regions`|`list(string)`| The list of regions for gathering metrics. Gathers metrics for all resources in the subscription. Can't be used if `resource_graph_query_filter` is set. || no |
82
-
|`resource_graph_query_filter`|`string`| The [Kusto query][] filter to apply when searching for resources. Can't be used if `regions` is set. || no |
83
-
|`timespan`|`string`|[ISO8601 Duration][] over which the metrics are being queried. |`"PT5M"` (5 minutes) | no |
84
-
|`interval`|`string`|[ISO8601 Duration][] used when to generate individual datapoints in Azure Monitor. Must be smaller than `timespan`. |`"PT1M"` (1 minute) | no |
85
-
|`validate_dimensions`|`bool`| Enable dimension validation in the azure SDK. |`false`| no |
69
+
| Name | Type | Description | Default | Required |
|`metrics`|`list(string)`| The metrics to scrape from resources. || yes |
72
+
|`resource_type`|`string`| The Azure Resource Type to scrape metrics for. || yes |
73
+
|`subscriptions`|`list(string)`| List of subscriptions to scrape metrics from. || yes |
74
+
|`azure_cloud_environment`|`string`| Name of the cloud environment to connect to. |`"azurecloud"`| no |
75
+
|`included_dimensions`|`list(string)`| List of dimensions to include on the final metrics. || no |
76
+
|`included_resource_tags`|`list(string)`| List of resource tags to include on the final metrics. |`["owner"]`| no |
77
+
|`metric_aggregations`|`list(string)`| Aggregations to apply for the metrics produced. || no |
78
+
|`metric_help_template`|`string`| Description of the metric. |`"Azure metric {metric} for {type} with aggregation {aggregation} as {unit}"`| no |
79
+
|`metric_name_template`|`string`| Metric template used to expose the metrics. |`"azure_{type}_{metric}_{aggregation}_{unit}"`| no |
80
+
|`metric_namespace`|`string`| Namespace for `resource_type` which have multiple levels of metrics. || no |
81
+
|`regions`|`list(string)`| The list of regions for gathering metrics. Gathers metrics for all resources in the subscription. Can't be used if `resource_graph_query_filter` is set. || no |
82
+
|`resource_graph_query_filter`|`string`| The [Kusto query][] filter to apply when searching for resources. Can't be used if `regions` is set. || no |
83
+
|`timespan`|`string`|[ISO8601 Duration][] over which the metrics are being queried. |`"PT5M"` (5 minutes) | no |
84
+
|`interval`|`string`|[ISO8601 Duration][] used when to generate individual datapoints in Azure Monitor. Must be smaller than `timespan`. |`"PT1M"` (1 minute) | no |
85
+
|`validate_dimensions`|`bool`| Enable dimension validation in the azure SDK. |`false`| no |
86
+
|`concurrency_subscription`|`int`| Number of subscriptions that can concurrently send metric requests. |`5`| no |
87
+
|`concurrency_subscription_resource`|`int`| Number of concurrent metric requests per resource within a subscription. |`10`| no |
88
+
|`enable_caching`|`bool`| Enable internal caching to reduce redundant API calls. |`false`| no |
86
89
87
90
The list of available `resource_type` values and their corresponding `metrics` can be found in [Azure Monitor essentials][].
88
91
@@ -109,10 +112,15 @@ Valid values for `azure_cloud_environment` are `azurecloud`, `azurechinacloud`,
109
112
`validate_dimensions` is disabled by default to reduce the number of Azure exporter instances required when a `resource_type` has metrics with varying dimensions.
110
113
When `validate_dimensions` is enabled you will need one exporter instance per metric + dimension combination which is more tedious to maintain.
111
114
112
-
`timespan` and `interval` are used to control how metrics are queried from Azure Monitor.
113
-
The exporter queries metrics over the `timespan` and returns the most recent datapoint at the specified `interval`.
115
+
`timespan` and `interval` are used to control how metrics are queried from Azure Monitor.
116
+
The exporter queries metrics over the `timespan` and returns the most recent datapoint at the specified `interval`.
114
117
If you are having issues with missing metrics, try increasing the `timespan` to a larger value, such as `PT10M` for 10 minutes, or `PT15M` for 15 minutes.
115
118
119
+
The concurrency settings control how many Azure API requests can be made in parallel.
120
+
`concurrency_subscription` limits the number of subscriptions that can concurrently send metric requests, while `concurrency_subscription_resource` limits the number of concurrent metric requests per resource within a subscription.
121
+
You can adjust these values to tune performance based on your Azure subscription limits and available resources.
122
+
`enable_caching` enables internal caching to reduce redundant API calls and improve performance.
0 commit comments