I'm trying to monitor several applications within the same site in IIS.
With just running the msi
of the tracer dd-trace-dotnet, I started to see the events, but these are registered as [site name]/[application]
e.g default_web_site/docs_webhook
I would love to be able to logs them under a custom service name for each application, but according to the documentation, this is only possible at the site level.
Manual instrumentation is described for windows services, setting the environment variable DD_SERVICE_NAME
in the registry entry HKLM\System\CurrentControlSet\Services\{service name}\Environment
is enough, but does not apply to IIS applications.
NOTE: Creating separate sites for each application is not an option right now.