Description
Note
See this comment for latest status update. If you're interested in seeing this come to fruition, please consider adding a 👍 to this issue.
Description of the feature request
Problem statement
We have used the js version of lambda-powertools for a long time already in DAZN, and now we have most of the Back-end teams working with typescript instead of javascript directly. With that said, the interest in adopting this project is really high, and it is useful for many areas already. In order to make the best adoption of this amazing tool in DAZN, it would be great if we could either configure it to use New Relic instead of Cloudwatch, or extend it with our own implementation, so we could keep it self-contained in a single repository.
Currently we are using New Relic for both logging, metrics and tracing in practically all the services in DAZN.
Summary of the feature
Provide a way to configure or extend this tools for external providers (New Relic)
Example suggestions:
Logger options:
- Add correspondent middlewares for New Relic
- Propose a way to configure the middlewares to use a New Relic implementation
- Add some extensibility in the Logger so it's possible to override the
printLog
function (or something like that) or provide an alternative implementation to theLogger
class
Metrics options:
- Add correspondent middlewares for New Relic
- Propose a way to configure the middlewares to use a New Relic Implementation
- Add the ability to provide an alternative implementation to the
Metrics
class
Tracing options:
- Add correspondent middlewares for New Relic
- Propose a way to configure the middlewares to use a New Relic Implementation
- Add the ability to provide an alternative implementation to the
Tracer
class
Code examples
To be defined
Benefits for you and the wider AWS community
Developers that needs to use New Relic or any other observability provider are able to use this project
Describe alternatives you've considered
It's briefly documented in the Summary, still needs more understanding of which options are possible
Additional context
Related issues, RFCs
Metadata
Metadata
Assignees
Labels
Type
Projects
Status