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.
100
+
101
+
.. tab:: IIS (ASP.NET)
100
102
101
103
For ASP.NET applications, configure the service name and resource attributes in the ``appSettings`` block of the web.config file:
102
104
@@ -130,7 +132,7 @@ Windows
130
132
.. note::
131
133
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.
132
134
133
-
.. tab:: IIS application (ASP.NET Core)
135
+
.. tab:: IIS (ASP.NET Core)
134
136
135
137
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