https://pulumi.com logo
#general
Title
# general
w

worried-knife-31967

03/18/2021, 9:27 AM
You actually dont need the site extension for asp.net core. Just the appsettings and the libraries injected at startup. If you're referring to the APM, that's different though.
r

refined-scientist-90265

03/18/2021, 9:31 AM
My experience is that if I don't add that site extension, it doesn't capture the log messages from my custom code. It does capture some standard logging, but none of the log messages from my code. What is APM?
w

worried-knife-31967

03/18/2021, 11:34 AM
Application Performance Monitoring is essentially an agent that looks at the runtime and generates performance data for it. For custom code, as long as you're registering the application insights instance as
services.AddApplicationInsights()
etc. and you have the InstrumentationKey for Application Insights as an AppSetting, it should work fine.
r

refined-scientist-90265

03/18/2021, 3:26 PM
OK. Thanks. I'll look more into that. I'm not sure about that instrumentation key.
2 Views