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.
.. note:: This command instruments any applications launched in the same PowerShell session. It won't instrument applications in a different PowerShell session.
108
+
109
+
.. tab:: IIS (ASP.NET)
108
110
109
111
For ASP.NET applications, configure the service name and resource attributes in the ``appSettings`` block of the web.config file:
110
112
@@ -138,7 +140,7 @@ Windows
138
140
.. note::
139
141
If the ``OTEL_SERVICE_NAME`` or ``OTEL_RESOURCE_ATTRIBUTES`` environment variables are set for a process, settings with the same names from ``appSettings`` block of web.config are ignored.
140
142
141
-
.. tab:: IIS application (ASP.NET Core)
143
+
.. tab:: IIS (ASP.NET Core)
142
144
143
145
For ASP.NET Core applications hosted in IIS, the service name and resource attributes can be configured using the ``environmentVariables`` block of the :new-page:`web.config file <https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-8.0#set-environment-variables>`. For example:
0 commit comments