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: azure-monitor-opentelemetry-distro/README.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This distro automatically installs the following libraries:
14
14
15
15
### Key Concepts
16
16
17
-
This package is simply a collection of OpenTelemetry and Azure Monitor components bundled together to enable the collection and sending of telemetry to Azure Monitor. For MANUAL instrumentation, it is equivalent to installing the above packages individually. AUTOMATIC instrumentation is not yet supported.
17
+
This package bundles a series of OpenTelemetry and Azure Monitor components to enable the collection and sending of telemetry to Azure Monitor. For MANUAL instrumentation, use the `configure_azure_monitor` function. AUTOMATIC instrumentation is not yet supported.
18
18
19
19
The [Azure Monitor OpenTelemetry exporters][azure_monitor_opentelemetry_exporters] are the main components in accomplishing this. You will be able to use the exporters and their APIs directly through this package. Please go the exporter documentation to understand how OpenTelemetry and Azure Monitor components work in enabling telemetry collection and exporting.
20
20
@@ -28,6 +28,23 @@ Install the Azure Monitor Opentelemetry Distro with [pip][pip]:
You can use `configure_azure_monitor` to set up instrumentation for your app to Azure Monitor. `configure_azure_monitor` supports the following optional arguments:
34
+
35
+
* connection_string - The [connection string][connection_string_doc] for your Application Insights resource. The connection string will be automatically populated from the `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable if not explicitly passed in.
36
+
* service_name = Specifies the [service][service_semantic_convention_doc] name.
37
+
* service_namespace = Specifies the [service][service_semantic_convention_doc] namespace.
38
+
* service_instance_id = Specifies the [service][service_semantic_convention_doc] instance id.
39
+
* disable_logging = If set to `True`, disables collection and export of logging telemetry.
40
+
* logging_level = Specifies the [logging level][logging_level] of the Opentelemetry Logging Handler. Ex: logging.WARNING.
41
+
* logging_export_interval_millis = Specifies the export interval of the logging exporter in milliseconds. Defaults to 30,000.
42
+
* disable_tracing = If set to `True`, disables collection and export of distributed tracing telemetry.
43
+
* sampling_ratio = Specifies the ratio of distributed tracing telemetry to be [sampled][application_insights_sampling]. Accepted values are in the range [0,1]. Defaults to 1.0, meaning no telemetry is sampled out.
44
+
* tracing_export_interval_millis = Specifies the export interval of the distributed tracing exporter in milliseconds. Defaults to 30,000.
45
+
46
+
See additional [configuration related to exporting here][exporter_configuration_docs].
47
+
31
48
### Prerequisites:
32
49
To use this package, you must have:
33
50
* Azure subscription - [Create a free account][azure_sub]
@@ -44,12 +61,17 @@ To use this package, you must have:
0 commit comments