forked from electrolux-oss/azure-cost-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexporter_config.yaml
24 lines (22 loc) · 957 Bytes
/
exporter_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
exporter_port: $EXPORTER_PORT|9090 # the port that exposes cost metrics
polling_interval_seconds: $POLLING_INTERVAL_SECONDS|28800 # by default it is 8 hours
metric_name: azure_daily_cost # change the metric name if needed
metric_name_usd: azure_daily_cost_usd # change the metric name if needed
group_by:
enabled: true
groups:
- type: Dimension
name: ServiceName
label_name: ServiceName
merge_minor_cost:
# if this is enabled, minor cost that is below the threshold will be merged into one group
enabled: false
threshold: 10
tag_value: other
target_azure_accounts:
# here defines a list of target Azure accounts
# it should be guaranteed that all the Azure accounts have the same set of keys (in this example they are Publisher, ProjectName, and EnvironmentName)
- TenantId: PUT_YOUR_AZURE_TENANT_ID_HERE
Subscription: PUT_YOUR_AZURE_SUBSCRIPTION_ID_HERE
ProjectName: myproject
EnvironmentName: dev