Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 2ad3a5c

Browse files
authored
Multiple apps in the same IIS App Pool can't use appSettings for configuration
See https://splunk.atlassian.net/browse/SWAT-7503?focusedCommentId=14928176 for detailed explanation.
1 parent 5978e29 commit 2ad3a5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gdi/get-data-in/application/otel-dotnet/instrumentation/instrument-dotnet-application.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ Windows
110110
.. note::
111111
If ``OTEL_SERVICE_NAME`` is not set for a web application hosted in IIS, the inferred name based on the site name and virtual directory path is used.
112112

113+
.. note::
114+
If multiple applications are running in the same IIS Application Pool do not use the ``appSettings``. Let the instrumentation infer the name and use the Application Pool environment variables configuration, see below, to set the resource attributes.
115+
113116
After modifying the web.config file, restart IIS:
114117

115118
.. code-block:: powershell

0 commit comments

Comments
 (0)