Skip to content

Commit 0b47e91

Browse files
hkfgotomkerkhove
andauthored
feat: add documentation on useAzureMonitorSdk feature flag (#62)
Co-authored-by: Tom Kerkhove <[email protected]>
1 parent 98ea44d commit 0b47e91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/scraping/runtime-configuration.md

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ azureMonitor:
4747
informationLevel: Basic # Optional. Default: Basic
4848
isEnabled: false # Optional. Default: false
4949
integration:
50+
useAzureMonitorSdk: true # Optional. Default: true
5051
history:
5152
startingFromInHours: 24 # Optional. Default: 12
5253
telemetry:
@@ -351,6 +352,7 @@ The behavior of this can be configured to fit your needs:
351352
API. (Default: `false`)
352353
- `azureMonitor.integration.history.startingFromInHours` - Defines the amount of hours Promitor will use to define the starting point of the time window used for metric queries.
353354
- As an example, the default is 12 hours which means Promitor will fetch all metrics between now - 12 hours and now to find a matching metric. Typically this window can be very small but Promitor provides a margin by default to prevent problems for long aggregation periods. (Default: `12`)
355+
- `azureMonitor.integration.useAzureMonitorSdk` - In the newest release of Promitor, integration with Azure Monitor will use [Azure.Monitor](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/monitor/Azure.Monitor.Query) package under Azure SDK for .NET by default. This migration was needed because the [original SDK](https://github.com/Azure/azure-libraries-for-net) has been deprecated since 2022.
354356

355357
Example:
356358

@@ -360,6 +362,7 @@ azureMonitor:
360362
informationLevel: Basic # Optional. Default: Basic
361363
isEnabled: false # Optional. Default: false
362364
integration:
365+
useAzureMonitorSdk: true # Optional. Default: true
363366
history:
364367
startingFromInHours: 24 # Optional. Default: 12
365368
```

0 commit comments

Comments
 (0)