Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a common interface to all providers Metrics (and do the same with providers Logger) #840

Open
ccoVeille opened this issue Jul 12, 2024 · 0 comments
Labels
Observability Related to logs, metrics, tracing

Comments

@ccoVeille
Copy link
Contributor

you could define an interface with one method that will be implemented by each Logger (and do the same for Metrics)

There is usually one thing that can be shared.

This way the code is clearer. IDE are able to autocomplete.

Originally posted by @ccoVeille in #835 (comment)

@aryanmehrotra aryanmehrotra added Observability Related to logs, metrics, tracing and removed Datasource labels Aug 8, 2024
@aryanmehrotra aryanmehrotra removed the good first issue Good for newcomers label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Observability Related to logs, metrics, tracing
Projects
None yet
Development

No branches or pull requests

2 participants