Hello, I have a net 5 WebAPI deployed in a docker linux container. I want to instrument the application in AppDynamics. The application works and I test it everytime with swagger I've tried 2 implementations
Install the .NET Core Microservices Agent for Windows -> https://docs.appdynamics.com/4.5.x/en/application-monitoring/install-app-server-agents/net-agent/net-microservices-agent/install-the-net-core-microservices-agent-for-windows
.NET Core for Linux SDK -> https://docs.appdynamics.com/21.5/en/application-monitoring/install-app-server-agents/net-agent/net-core-for-linux-sdk
The first scenario didn't work for me I got a consistent error, a single log line saying "use clr profiler",
The second does nothing at all I have no feedback what so ever and no log is created This is my Docker configuration "Docker": { "commandName": "Docker", "launchBrowser": true, "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/Swagger", "environmentVariables": { "CORECLR_PROFILER": "{57e1aa68-2229-41aa-9931-a6e93bbc64d8}", "CORECLR_ENABLE_PROFILING": "1", "CORECLR_PROFILER_PATH": "/app/bin/Debug/net5.0/runtimes/linux-64/native/libappdprofiler.so", "APPDYNAMICS_LOG_PATH": "/app/bin/Debug/net5.0" }, "publishAllPorts": true, "useSSL": true }
And this is the app dynamics configuration { "feature": [ "FULL_AGENT" ], "controller": { "host": "MYHOST.saas.appdynamics.com", "port": 443, "account": "myAccount", "password": "mypassword", "ssl": true, "enable_tls12": true }, "application": { "name": "myapplicationname", "tier": "my-appliation-tier", "node": "" }, "log": { "directory": "/app/bin/Debug/net5.0", "level": "ALL" } }
... View more