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
@@ -135,9 +135,9 @@ Note that the `Credential` property is optional. If it is not set, Azure Monitor
135
135
When using the Azure Monitor Distro, the sampling percentage for telemetry data is set to 100% (1.0F) by default. For example, let's say you want to set the sampling percentage to 50%. You can achieve this by modifying the code as follows:
Copy file name to clipboardExpand all lines: sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/README.md
+18-16Lines changed: 18 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -35,31 +35,33 @@ These are provided without support and are not intended for production workloads
35
35
36
36
The following examples demonstrate how to add the `AzureMonitorExporter` to your OpenTelemetry configuration.
37
37
38
+
It's important to keep the `TracerProvider`, `MeterProvider`, and `LoggerFactory` instances active throughout the process lifetime. These must be properly disposed when your application is shutting down to flush any remaining telemetry items.
0 commit comments