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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,13 +46,13 @@ You can use `configure_azure_monitor` to set up instrumentation for your app to
46
46
* service_name - Specifies the [service][service_semantic_convention_doc] name.
47
47
* service_namespace - Specifies the [service][service_semantic_convention_doc] namespace.
48
48
* service_instance_id - Specifies the [service][service_semantic_convention_doc] instance id.
49
-
* disable_logging - If set to `True`, disables collection and export of logging telemetry.
50
-
* disable_metrics - If set to `True`, disables collection and export of metric telemetry.
51
-
* disable_tracing - If set to `True`, disables collection and export of distributed tracing telemetry.
52
-
* logging_level - Specifies the [logging level][logging_level] of the Opentelemetry Logging Handler. Defaults to logging.NOTSET.
53
-
* logger_name = Specifies the [logger name][logger_name_hierarchy_doc] under which all logging will be instrumented. Defaults to "" which corresponds to the root logger.
49
+
* disable_logging - If set to `True`, disables collection and export of logging telemetry. Defaults to `False`.
50
+
* disable_metrics - If set to `True`, disables collection and export of metric telemetry. Defaults to `False`.
51
+
* disable_tracing - If set to `True`, disables collection and export of distributed tracing telemetry. Defaults to `False`.
52
+
* logging_level - Specifies the [logging level][logging_level] of the logs you would like to collect for your logging pipeline. Defaults to logging.NOTSET.
53
+
* logger_name = Specifies the [logger name][logger_name_hierarchy_doc] under which logging will be instrumented. Defaults to "" which corresponds to the root logger.
54
54
* logging_export_interval_millis - Specifies the logging export interval in milliseconds. Defaults to 5000.
55
-
* metric_readers - Specifies the [metric readers][ot_metric_reader] that you would like to use for your metrics pipeline. Accepts a list of [metric readers][ot_sdk_python_metric_reader].
55
+
* metric_readers - Specifies the [metric readers][ot_metric_reader] that you would like to use for your metric pipeline. Accepts a list of [metric readers][ot_sdk_python_metric_reader].
56
56
* views - Specifies the list of [views][opentelemetry_specification_view] to configure for the metric pipeline. See [here][ot_sdk_python_view_examples] for example usage.
57
57
* 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.
58
58
* tracing_export_interval_millis - Specifies the distributed tracing export interval in milliseconds. Defaults to 5000.
This function works as a configuration layer that allows the
44
45
end user to configure OpenTelemetry and Azure monitor components. The
45
46
configuration can be done via arguments passed to this function.
47
+
:keyword str connection_string: Connection string for your Application Insights resource.
48
+
:keyword Sequence[str] connection_string: Specifies the libraries with instrumentations to be enabled.
49
+
:keyword str service_name: Specifies the service name.
50
+
:keyword str service_namespace: Specifies the service namespace.
51
+
:keyword str service_instance_id: Specifies the service instance id.
52
+
:keyword bool disable_logging: If set to `True`, disables collection and export of logging telemetry. Defaults to `False`.
53
+
:keyword bool disable_metrics: If set to `True`, disables collection and export of metric telemetry. Defaults to `False`.
54
+
:keyword bool disable_tracing: If set to `True`, disables collection and export of distributed tracing telemetry. Defaults to `False`.
55
+
:keyword int logging_level: Specifies the logging of the logs you would like to collect for your logging pipeline.
56
+
:keyword str logger_name: Specifies the logger name under which logging will be instrumented. Defaults to "" which corresponds to the root logger.
57
+
:keyword int logging_export_interval_millis: Specifies the logging export interval in milliseconds. Defaults to 5000.
58
+
:keyword Sequence[MetricReader] metric_readers: Specifies the metric readers that you would like to use for your metric pipeline.
59
+
:keyword Sequence[View] views: Specifies the list of views to configure for the metric pipeline.
60
+
:keyword float sampling_ratio: Specifies the ratio of distributed tracing telemetry to be sampled. Accepted values are in the range [0,1]. Defaults to 1.0, meaning no telemetry is sampled out.
61
+
:keyword int tracing_export_interval_millis: Specifies the distributed tracing export interval in milliseconds. Defaults to 5000.
62
+
:keyword Dict[str, Any] <instrumentation>_config: Specifies a dictionary of kwargs that will be applied to configuration for instrumentation <instrumentation>.
63
+
:keyword bool disable_offline_storage: Boolean value to determine whether to disable storing failed telemetry records for retry. Defaults to `False`.
64
+
:keyword str storage_directory: Storage directory in which to store retry files. Defaults to `<tempfile.gettempdir()>/Microsoft/AzureMonitor/opentelemetry-python-<your-instrumentation-key>`.
0 commit comments