Unleash / unleash-client-node

Unleash client SDK for Node.js
https://docs.getunleash.io
Apache License 2.0
210 stars 71 forks source link

feat: extend metrics with metadata #639

Closed nunogois closed 2 months ago

nunogois commented 2 months ago

https://linear.app/unleash/issue/2-2389/extend-node-sdk-with-new-metrics

This extends the current metrics with metadata.

Tries being a bit fancy and grab other runtimes like bun and deno. E.g. if we run something in Bun that uses our SDK we can see it in the metrics payload: image

Similar to: https://github.com/Unleash/unleash-client-dotnet/pull/231 and https://github.com/Unleash/unleash-client-ruby/pull/177

coveralls commented 2 months ago

Coverage Status

coverage: 90.515% (-0.3%) from 90.784% when pulling b8ea967e779bbd576e1a304f700077f40206e865 on feat-metrics-extended into 25040fda2142dbc5209db99cdecec9eacedf2160 on main.