Skip to content

Commit 2e4e131

Browse files
committed
update readme
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 467959d commit 2e4e131

File tree

1 file changed

+2
-38
lines changed

1 file changed

+2
-38
lines changed

README.md

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -247,44 +247,8 @@ Using absolute calculated time:
247247

248248
### ResourceTags handling
249249

250-
Tag can be dynamically added to metrics and processed though filters
251-
252-
format is: `tagname?filter1` or `tagname?filter1&filter2`
253-
254-
| Tag filter | Description |
255-
|------------|-----------------------------|
256-
| `toLower` | Lowercasing Azure tag value |
257-
| `toUpper` | Uppercasing Azure tag value |
250+
see [armclient tagmanager documentation](https://github.com/webdevops/go-common/blob/main/azuresdk/README.md#tag-manager)
258251

259252
### AzureTracing metrics
260253

261-
(with 22.2.0 and later)
262-
263-
Azuretracing metrics collects latency and latency from azure-sdk-for-go and creates metrics and is controllable using
264-
environment variables (eg. setting buckets, disabling metrics or disable autoreset).
265-
266-
| Metric | Description |
267-
|------------------------------------------|----------------------------------------------------------------------------------------|
268-
| `azurerm_api_ratelimit` | Azure ratelimit metrics (only on /metrics, resets after query due to limited validity) |
269-
| `azurerm_api_request_*` | Azure request count and latency as histogram |
270-
271-
#### Settings
272-
273-
| Environment variable | Example | Description |
274-
|------------------------------------------|------------------------------------|----------------------------------------------------------------|
275-
| `METRIC_AZURERM_API_REQUEST_BUCKETS` | `1, 2.5, 5, 10, 30, 60, 90, 120` | Sets buckets for `azurerm_api_request` histogram metric |
276-
| `METRIC_AZURERM_API_REQUEST_ENABLE` | `false` | Enables/disables `azurerm_api_request_*` metric |
277-
| `METRIC_AZURERM_API_REQUEST_LABELS` | `apiEndpoint, method, statusCode` | Controls labels of `azurerm_api_request_*` metric |
278-
| `METRIC_AZURERM_API_RATELIMIT_ENABLE` | `false` | Enables/disables `azurerm_api_ratelimit` metric |
279-
| `METRIC_AZURERM_API_RATELIMIT_AUTORESET` | `false` | Enables/disables `azurerm_api_ratelimit` autoreset after fetch |
280-
281-
282-
| `azurerm_api_request` label | Status | Description |
283-
|-----------------------------|--------------------|----------------------------------------------------------------------------------------------------------|
284-
| `apiEndpoint` | enabled by default | hostname of endpoint (max 3 parts) |
285-
| `routingRegion` | enabled by default | detected region for API call, either routing region from Azure Management API or Azure resource location |
286-
| `subscriptionID` | enabled by default | detected subscriptionID |
287-
| `tenantID` | enabled by default | detected tenantID (extracted from jwt auth token) |
288-
| `resourceProvider` | enabled by default | detected Azure Management API provider |
289-
| `method` | enabled by default | HTTP method |
290-
| `statusCode` | enabled by default | HTTP status code |
254+
see [armclient tracing documentation](https://github.com/webdevops/go-common/blob/main/azuresdk/README.md#azuretracing-metrics)

0 commit comments

Comments
 (0)