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
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The online documentation is available at https://opentelemetry-azure-monitor-pyt
18
18
19
19
### Trace
20
20
21
-
The **Azure Monitor Trace Exporter** allows you to export [OpenTelemetry](https://opentelemetry.io/) traces to [Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/).
21
+
The **Azure Monitor Span Exporter** allows you to export [OpenTelemetry](https://opentelemetry.io/) traces to [Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/).
22
22
23
23
This example shows how to send a span "hello" to Azure Monitor.
24
24
@@ -33,17 +33,13 @@ from opentelemetry.sdk.trace import TracerProvider
33
33
from opentelemetry.sdk.trace.export import BatchExportSpanProcessor
34
34
35
35
trace.set_tracer_provider(TracerProvider())
36
-
37
-
# We tell OpenTelemetry who it is that is creating spans. In this case, we have
38
-
# no real name (no setup.py), so we make one up. If we had a version, we would
39
-
# also specify it here.
40
36
tracer = trace.get_tracer(__name__)
41
37
38
+
# SpanExporter receives the spans and send them to the target location
0 commit comments