You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-collect-and-transport-metrics.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,8 +74,8 @@ Configure the metrics-collector by using environment variables. Minimally, you m
74
74
|`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**|
75
75
|`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**|
76
76
|`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**|
79
79
|`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**|
80
80
|`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**|
81
81
@@ -89,8 +89,8 @@ Configure the metrics-collector by using environment variables. Minimally, you m
89
89
|`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**|
90
90
|`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**|
91
91
|`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**|
94
94
|`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**|
95
95
|`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**|
0 commit comments