-
Notifications
You must be signed in to change notification settings - Fork 21
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 prometheus metrics support #30
Comments
Thoughts @haskell-servant/maintainers ? edit: Oh I already mentioned the group. Sorry for the double ping. that was not my intention |
eh I guess 26 days is an acceptable period for re-ping ;) |
@arianvp here are my thoughts:
|
Could your functions be merged into servant-ekg? |
They could but I'd prefer not to pull in |
Ah, if HasEndpoint is the only one, maybe we could upstream it outside of servant-ekg. |
You might be interested |
I was able to add prometheus metrics supports with this super small snippet:
It only depends on the
HasEndpoint
typeclass. I'm wondering if maybe we should moveHasEndpoint
into theservant
core package to make Prometheus support possible without people having to pull in theekg
dependency? cc @haskell-servant/maintainersIDK if
servant-prometheus
deserves its only library or should just be a cookbook with the above code.The text was updated successfully, but these errors were encountered: