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: sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/export/logs/_exporter.py
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -83,16 +83,18 @@ def from_connection_string(
83
83
cls, conn_str: str, **kwargs: Any
84
84
) ->"AzureMonitorLogExporter":
85
85
"""
86
-
Create an AzureMonitorLogExporter from a connection string.
87
-
88
-
This is the recommended way of instantation if a connection string is passed in explicitly.
89
-
If a user wants to use a connection string provided by environment variable, the constructor
90
-
of the exporter can be called directly.
91
-
92
-
:param str conn_str: The connection string to be used for authentication.
93
-
:keyword str api_version: The service API version used. Defaults to latest.
Copy file name to clipboardExpand all lines: sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/export/metrics/_exporter.py
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -147,16 +147,18 @@ def from_connection_string(
147
147
cls, conn_str: str, **kwargs: Any
148
148
) ->"AzureMonitorMetricExporter":
149
149
"""
150
-
Create an AzureMonitorMetricExporter from a connection string.
151
-
152
-
This is the recommended way of instantation if a connection string is passed in explicitly.
153
-
If a user wants to use a connection string provided by environment variable, the constructor
154
-
of the exporter can be called directly.
155
-
156
-
:param str conn_str: The connection string to be used for authentication.
157
-
:keyword str api_version: The service API version used. Defaults to latest.
150
+
Create an AzureMonitorMetricExporter from a connection string. This is
151
+
the recommended way of instantiation if a connection string is passed in
152
+
explicitly. If a user wants to use a connection string provided by
153
+
environment variable, the constructor of the exporter can be called
154
+
directly.
155
+
156
+
:param str conn_str: The connection string to be used for
157
+
authentication.
158
+
:keyword str api_version: The service API version used. Defaults to
159
+
latest.
158
160
:return: An instance of ~AzureMonitorMetricExporter
Copy file name to clipboardExpand all lines: sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/export/trace/_exporter.py
0 commit comments