We call a ([Text], Method) an Endpoint and reconcile the HasMethod typeclass with the one in haskell-servant/servant-ekg#9. For the time being, we also drop support for producing the "unknown" metric since the next change is going to mine Endpoints for richer metric labels and more idiomatic metric names, and there's no obvious unknown-Endpoint value.
This builds on #11.
We call a
([Text], Method)
anEndpoint
and reconcile theHasMethod
typeclass with the one in haskell-servant/servant-ekg#9. For the time being, we also drop support for producing the "unknown" metric since the next change is going to mineEndpoint
s for richer metric labels and more idiomatic metric names, and there's no obvious unknown-Endpoint
value.