If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text
TIP 1: select at least one tag that further categorizes your topic. For example
server for APM Server related questions,
java for questions regarding the Elastic APM Java agent, or
ui for questions about the APM App within Kibana.
TIP 2: Check out the troubleshooting guide first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.
Kibana version: 7.12.1
Elasticsearch version: 7.12.1
APM Server version: 7.15
APM Agent language and version: 1.11.1 .Net
Original install method (e.g. download page, yum, deb, from source, etc.) and version: releases page elastic.co
Fresh install or upgraded from other version? Fresh
Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.
The application is managed with IIS setting the DOTNET_STARTUP_HOOKS variable will not start the agent.
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
IIS will not keep or use the environment variable/s when set. I do not know if I am setting the variables correctly or I am not exposing correctly. I am new to setting up Elastic APM Agents and their components.
Steps to reproduce:
- Having a deployed application on an IIS server 2012
- set DOTNET_STARTUP_HOOKS pointing to \ElasticApmAgentStartupHook.dll
- Restart the IIS application
Errors in browser console (if relevant): Not relevant
Provide logs and/or server output (if relevant):
Unable to setup logging for apm agent.