Skip to content

Commit 9b498be

Browse files
committed
Fixes and more
1 parent 191f2b6 commit 9b498be

2 files changed

Lines changed: 47 additions & 48 deletions

File tree

articles/iot-edge/how-to-collect-and-transport-metrics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ Configure the metrics-collector by using environment variables. Minimally, you m
7474
| `LogAnalyticsSharedKey` | [Log Analytics workspace key](/azure/azure-monitor/agents/agent-windows#workspace-id-and-key). <br><br>Required only if **UploadTarget** is **AzureMonitor** <br><br> Default value: **none** |
7575
| `ScrapeFrequencyInSecs` | Recurring time interval in seconds in which to collect and transport metrics.<br><br> Example: **600** <br><br> Not required <br><br> Default value: **300** |
7676
| `MetricsEndpointsCSV` | Comma-separated list of endpoints to collect Prometheus metrics from. All module endpoints to collect metrics from must appear in this list.<br><br> Example: **http://edgeAgent:9600/metrics, http://edgeHub:9600/metrics, http://MetricsSpewer:9417/metrics** <br><br> Not required <br><br> Default value: **http://edgeHub:9600/metrics, http://edgeAgent:9600/metrics** |
77-
| `AllowedMetrics` | List of metrics to collect, all other metrics are ignored. Set to an empty string to disable. For more information, see [allow and disallow lists](#allow-and-disallow-lists). <br><br>Example: **metricToScrape{quantile=0.99}[endpoint=http://MetricsSpewer:9417/metrics]**<br><br> Not required <br><br> Default value: **empty** |
78-
| `BlockedMetrics` | List of metrics to ignore. Overrides **AllowedMetrics**, so a metric isn't reported if it's included in both lists. For more information, see [Allow and disallow lists](#allow-and-disallow-lists). <br><br> Example: **metricToIgnore{quantile=0.5}[endpoint=http://VeryNoisyModule:9001/metrics], docker_container_disk_write_bytes**<br><br> Not required <br><br>Default value: **empty** |
77+
| `AllowedMetrics` | List of metrics to collect, all other metrics are ignored. Set to an empty string to disable. For more information, see [Allow and block lists](#allow-and-block-lists). <br><br>Example: **metricToScrape{quantile=0.99}[endpoint=http://MetricsSpewer:9417/metrics]**<br><br> Not required <br><br> Default value: **empty** |
78+
| `BlockedMetrics` | List of metrics to ignore. Overrides **AllowedMetrics**, so a metric isn't reported if it's included in both lists. For more information, see [Allow and block lists](#allow-and-block-lists). <br><br> Example: **metricToIgnore{quantile=0.5}[endpoint=http://VeryNoisyModule:9001/metrics], docker_container_disk_write_bytes**<br><br> Not required <br><br>Default value: **empty** |
7979
| `CompressForUpload` | Controls if compression should be used when uploading metrics. Applies to all upload targets.<br><br> Example: **true** <br><br> Not required <br><br> Default value: **true** |
8080
| `AzureDomain` | Specifies the top-level Azure domain to use when ingesting metrics directly to Log Analytics. <br><br> Example: **azure.us** <br><br> Not required <br><br> Default value: **azure.com** |
8181

@@ -89,8 +89,8 @@ Configure the metrics-collector by using environment variables. Minimally, you m
8989
| `LogAnalyticsSharedKey` | [Log Analytics workspace key](/azure/azure-monitor/agents/agent-windows#workspace-id-and-key). <br><br> Required only if **UploadTarget** is **AzureMonitor** <br><br> Default value: **none** |
9090
| `ScrapeFrequencyInSecs` | Recurring time interval in seconds in which to collect and transport metrics.<br><br> Example: **600** <br><br> Not required <br><br> Default value: **300** |
9191
| `MetricsEndpointsCSV` | Comma-separated list of endpoints to collect Prometheus metrics from. All module endpoints to collect metrics from must appear in this list.<br><br> Example: **http://edgeAgent:9600/metrics, http://edgeHub:9600/metrics, http://MetricsSpewer:9417/metrics** <br><br> Not required <br><br> Default value: **http://edgeHub:9600/metrics, http://edgeAgent:9600/metrics** |
92-
| `AllowedMetrics` | List of metrics to collect, all other metrics are ignored. Set to an empty string to disable. For more information, see [Allow and disallow lists](#allow-and-disallow-lists). <br><br>Example: **metricToScrape{quantile=0.99}[endpoint=http://MetricsSpewer:9417/metrics]** <br><br> Not required <br><br> Default value: **empty** |
93-
| `BlockedMetrics` | List of metrics to ignore. Overrides **AllowedMetrics**, so a metric isn't reported if it's included in both lists. For more information, see [Allow and disallow lists](#allow-and-disallow-lists). <br><br> Example: **metricToIgnore{quantile=0.5}[endpoint=http://VeryNoisyModule:9001/metrics], docker_container_disk_write_bytes** <br><br> Not required <br><br>Default value: **empty** |
92+
| `AllowedMetrics` | List of metrics to collect, all other metrics are ignored. Set to an empty string to disable. For more information, see [Allow and block lists](#allow-and-block-lists). <br><br>Example: **metricToScrape{quantile=0.99}[endpoint=http://MetricsSpewer:9417/metrics]** <br><br> Not required <br><br> Default value: **empty** |
93+
| `BlockedMetrics` | List of metrics to ignore. Overrides **AllowedMetrics**, so a metric isn't reported if it's included in both lists. For more information, see [Allow and block lists](#allow-and-block-lists). <br><br> Example: **metricToIgnore{quantile=0.5}[endpoint=http://VeryNoisyModule:9001/metrics], docker_container_disk_write_bytes** <br><br> Not required <br><br>Default value: **empty** |
9494
| `CompressForUpload` | Controls if compression should be used when uploading metrics. Applies to all upload targets.<br><br> Example: **true** <br><br> Not required <br><br> Default value: **true** |
9595
| `AzureDomain` | Specifies the top-level Azure domain to use when ingesting metrics directly to Log Analytics. <br><br> Example: **azure.us** <br><br> Not required <br><br> Default value: **azure.com** |
9696

0 commit comments

Comments
 (0)