Skip to content

Commit 0c4d5a7

Browse files
docs: add support for traffic manager (#50)
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
1 parent 413f85f commit 0c4d5a7

File tree

4 files changed

+40
-2
lines changed

4 files changed

+40
-2
lines changed

docs/scraping/providers/nat-gateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ resources: # Optional, required when no resource discovery is configured
3434
- natGatewayName: promitor-nat-gateway-1
3535
- natGatewayName: promitor-nat-gateway-2
3636
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
37-
- name: nat-gateway-landscape
37+
- name: nat-gateways
3838
```

docs/scraping/providers/public-ip-address.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ resources: # Optional, required when no resource discovery is configured
3434
- publicIpAddressName: promitor-load-balancer-public-ip
3535
- publicIpAddressName: promitor-nat-gateway-public-ip
3636
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
37-
- name: public-ip-address-landscape
37+
- name: public-ip-addresses
3838
```
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
tags:
3+
- Scraper
4+
- Resource Discovery
5+
- Networking
6+
---
7+
8+
# Azure Traffic Manager Profile
9+
10+
![Availability Badge](https://img.shields.io/badge/Available%20Starting-v2.9-green.svg)![Resource Discovery Support Badge](https://img.shields.io/badge/Support%20for%20Resource%20Discovery-Yes-green.svg)
11+
12+
You can declare to scrape a Traffic Manager via the `TrafficManager` resource type.
13+
14+
When using declared resources, the following fields need to be provided:
15+
16+
- `name` - The name of the Traffic Manager Profile.
17+
18+
All supported metrics are documented in the official [Azure Monitor documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported#microsoftnetworktrafficmanagerprofiles).
19+
20+
## Example
21+
22+
Here is an example configuration:
23+
24+
```yaml
25+
name: azure_traffic_manager_endpoint_qps
26+
description: "Number of times a Traffic Manager endpoint was returned in the given time frame"
27+
resourceType: TrafficManager
28+
azureMetricConfiguration:
29+
metricName: QpsByEndpoint
30+
aggregation:
31+
type: Total
32+
resources: # Optional, required when no resource discovery is configured
33+
- name: promitor-traffic-manager
34+
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
35+
- name: traffic-managers
36+
```

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ nav:
185185
- Azure Synapse (Apache Spark pool): scraping/providers/synapse-apache-spark-pool.md
186186
- Azure Synapse (SQL pool): scraping/providers/synapse-sql-pool.md
187187
- Azure Synapse (Workspace): scraping/providers/synapse-workspace.md
188+
- Azure Traffic Manager: scraping/providers/traffic-manager.md
188189
- Azure Virtual Machine Scale Set (VMSS): scraping/providers/virtual-machine-scale-set.md
189190
- Azure Virtual Machine (VM): scraping/providers/virtual-machine.md
190191
- Azure Virtual Network: scraping/providers/virtual-network.md
@@ -236,6 +237,7 @@ nav:
236237
- Azure Synapse (Apache Spark pool): scraping/providers/synapse-apache-spark-pool.md
237238
- Azure Synapse (SQL pool): scraping/providers/synapse-sql-pool.md
238239
- Azure Synapse (Workspace): scraping/providers/synapse-workspace.md
240+
- Azure Traffic Manager: scraping/providers/traffic-manager.md
239241
- Azure Virtual Machine Scale Set (VMSS): scraping/providers/virtual-machine-scale-set.md
240242
- Azure Virtual Machine (VM): scraping/providers/virtual-machine.md
241243
- Azure Virtual Network: scraping/providers/virtual-network.md

0 commit comments

Comments
 (0)