APM Agent language and version:
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Fresh install or upgraded from other version?
There is no problem or bug in the behavior but I think there is a lack of functionality of the agent itself. We are using many legacy projects with multiple services where we have to explicitly subscribe to SqlClientDiagnosticSubscriber on each project or webservice. This exposes us to duplicate subscriptions that will cause repeating logging records in APM. Is there a way to track the current subscribed listeners? If not, is there an elegant way to implement such tracking?
Steps to reproduce:
- Using public API subscribe to SqlClientDiagnosticSubscriber in multiple different webservices/projects.
- See duplicate logging records in APM service log
- Determine ways to see if Agent is already subscribed to SqlClientDiagnosticSubscriber
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):