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 Sep 2, 2025. It is now read-only.
Make sure that your application's dependencies are compatible with the .NET instrumentation.
59
+
54
60
#. Verify whether your target applications have the same dependencies as the automatic instrumentation. See :new-page:`OpenTelemetry.AutoInstrumentation <https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/main/src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj>` and :new-page:`OpenTelemetry.AutoInstrumentation.AdditionalDeps <https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/main/src/OpenTelemetry.AutoInstrumentation.AdditionalDeps/Directory.Build.props>`. If there are conflicts, consider installing using the NuGet packages. Otherwise, you must resolve all the dependencies before manually installing the instrumentation.
55
61
56
62
#. Verify whether your target applications have the same dependencies as the NuGet packages. See the :new-page:`NuGet dependencies <https://www.nuget.org/packages/OpenTelemetry.AutoInstrumentation/#dependencies-body-tab>` in the NuGet documentation. If there are conflicts, you must resolve them before installing the instrumentation using the NuGet packages.
57
63
58
64
Review supported libraries
59
65
==========================
60
66
67
+
Make sure that your target application uses supported libraries. Complete the following steps:
68
+
61
69
#. Review the list of automatically instrumented libraries supported by the Splunk distribution of the OpenTelemetry .NET instrumentation. See :ref:`supported-dotnet-otel-libraries`.
62
70
63
71
#. Review the community-supported extended list of automatically instrumented libraries in the OpenTelemetry Ecosystem. See the :new-page:`OpenTelemetry Registry <https://opentelemetry.io/ecosystem/registry/?language=dotnet&component=instrumentation>`.
Copy file name to clipboardExpand all lines: gdi/get-data-in/application/otel-dotnet/instrumentation/instrument-dotnet-application.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ The following scenarios are ideal for using the NuGet packages:
28
28
* You want to facilitate developer experimentation with automatic instrumentation through NuGet packages.
29
29
* You need to solve version conflicts between the dependencies used by the application and the automatic instrumentation.
30
30
31
-
However, you shouldn't use the NuGet packages if any of the following apply to your environment:
31
+
Don't use the NuGet packages if any of the following apply to your environment:
32
32
33
33
* You're unable to add the NuGet packages to the application project. This can be the case when instrumenting a third-party application.
34
34
* You can't accommodate the increased disk use required by installing the NuGet packages separately for each instrumented application running on the same machine.
35
35
* You need to instrument a legacy application that can't be migrated to the SDK-style project. To verify whether your project is SDK style, see `Identify the project format <https://learn.microsoft.com/en-us/nuget/resources/check-project-format>`__ in the NuGet documentation.
36
36
37
-
To install the distribution manually, see:ref:`otel-dotnet-manual-install`.
37
+
If your scenario isn't compatible with NuGet package installation, install the distribution manually. See:ref:`otel-dotnet-manual-install`.
38
38
39
39
.. note::
40
40
@@ -78,7 +78,7 @@ The instrumentation procedure in the previous section produces launch scripts in
78
78
79
79
#. Identify the launch script in your build output.
80
80
81
-
#. Optional. If you want to verify that the instrumentation is working by viewing the telemetry data output in your console, set the following environment variables to ``true``:
81
+
#. (Optional) If you want to verify that the instrumentation is working by viewing the telemetry data output in your console, set the following environment variables to ``true``:
@@ -112,7 +112,7 @@ The following scenarios are ideal for manually installing the .NET instrumentati
112
112
* You can't accommodate the increased disk use required by installing the NuGet packages separately for each instrumented application running on the same machine.
113
113
* You need to instrument a legacy application that can't be migrated to the SDK-style project. To verify whether your project is SDK style, see `Identify the project format <https://learn.microsoft.com/en-us/nuget/resources/check-project-format>`__ in the NuGet documentation.
114
114
115
-
However, you should consider using the NuGet packages if any of the following apply to your environment:
115
+
Consider using the NuGet packages if any of the following apply to your environment:
116
116
117
117
* You control the application build but not the machine or container where the application is running.
118
118
* You're instrumenting a self-contained application. See :new-page:`Publish self-contained <https://learn.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained>` in the .NET documentation.
0 commit comments