i have a situation where i have bunch of already existing asp.net core apps pointed to to their specific app insights instances.
i want all of them to point to another app insights to send a very specific type of logging data without breaking their relation with the app insights instance they are already pointed to.
So is it possible to some how dependency inject 2 different app insights in one application ?
How i understand is that we simply inject AppInsights once like below.
services.AddApplicationInsightsTelemetry();
and the we can give instrumentation key in the app settings.
"ApplicationInsights": {
"InstrumentationKey": "Copy paste"
}
i am open to any other suggestion to solve this problem aswell.