ApplicationInsights-node.js icon indicating copy to clipboard operation
ApplicationInsights-node.js copied to clipboard

No common AppInsights interface between ApplicationInsights-node and ApplicationInsights-js

Open pcone opened this issue 3 years ago • 1 comments

So my understanding is that code running on node should be using this library, while code running in browsers should be using ApplicationInsights-JS.

I have code shared between frontend and backend where I'd like to just have the same AppInsights interface available. It seems like TelemetryClient in the node library mostly conforms to IAppInsights in the web/core library, albeit not explicitly. So I'm planning on wrapping them in a shim so they can share a common type, but it would be nice if there was just an actual common interface (presumably would be exported in the appinsights-common package)

Is there any plan to bring these in sync? Am I missing something here?

pcone avatar Sep 07 '22 23:09 pcone

+1

rodneytamblyn avatar Dec 02 '22 09:12 rodneytamblyn