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

[feat] Expose metrics #75

Open
andrefurlan-db opened this issue Dec 12, 2022 · 1 comment
Open

[feat] Expose metrics #75

andrefurlan-db opened this issue Dec 12, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@andrefurlan-db
Copy link
Contributor

It would be good to directly expose metrics should as query time elapsed. Gotta think about more. If you have any ideas/suggestions please comment in this issue.

@andrefurlan-db andrefurlan-db added the enhancement New feature or request label Dec 12, 2022
@fracasula
Copy link

fracasula commented Mar 30, 2023

It would be nice if an open standard is used to do this like OpenTelemetry for example. This way people can plug in whatever they want and have their metrics in their preferred backend (not just Prometheus but anything compatible with OTel).

Having the possibility to inject a MeterProvider should be good enough. If it's not provided by the user (i.e. it is nil) then the global one can be used (and if it's not configured then it's basically like a no-op meter provider).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants