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
@@ -343,7 +345,7 @@ OpenCensus.stats supports four aggregation methods but provides partial support
343
345
main()
344
346
```
345
347
346
-
1. The exporter sends metric data to Azure Monitor at a fixed interval. The default is every 15 seconds. To modify the export interval, passin`export_interval`as a parameter in seconds to `new_metrics_exporter()`. We're tracking a single metric, so this metric data, with whatever value and time stamp it contains, is sent every interval. The value is cumulative, can only increase, and resets to 0 on restart.
348
+
1. The exporter sends metric data to Azure Monitor at a fixed interval. You must set this value to 60sas Application Insights backend assumes aggregation of metrics points on a 60s time interval. We're tracking a single metric, so this metric data, with whatever value and time stamp it contains, is sent every interval. The data is cumulative, can only increase, and resets to 0 on restart.
347
349
348
350
You can find the data under `customMetrics`, but the `customMetrics` properties `valueCount`, `valueSum`, `valueMin`, `valueMax`, and`valueStdDev` aren't effectively used.
349
351
@@ -519,7 +521,7 @@ Each exporter accepts the same arguments for configuration, passed through the c
519
521
`connection_string`| The connection string used to connect to your Azure Monitor resource. Takes priority over `instrumentation_key`.|
520
522
`credential`| Credential class used by Azure Active Directory authentication. See the "Authentication" section that follows.|
521
523
`enable_standard_metrics`| Used for`AzureMetricsExporter`. Signals the exporter to send [performance counter](../essentials/app-insights-metrics.md#performance-counters) metrics automatically to Azure Monitor. Defaults to `True`.|
522
-
`export_interval`| Used to specify the frequency in seconds of exporting. Defaults to `15s`.|
524
+
`export_interval`| Used to specify the frequency in seconds of exporting. Defaults to `15s`. For metrics you MUSTset this to 60sorelse your metric aggregations will not make sense in the metrics explorer.|
523
525
`grace_period`| Used to specify the timeout for shutdown of exporters in seconds. Defaults to `5s`.|
524
526
`instrumentation_key`| The instrumentation key used to connect to your Azure Monitor resource.|
525
527
`logging_sampling_rate`| Used for`AzureLogHandler`and`AzureEventHandler`. Provides a sampling rate [0,1.0] for exporting logs/events. Defaults to `1.0`.|
0 commit comments