We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using a Doobie 1.x loghandler to expose execution times for my queries via a prometheus metrics endpoint from my application.
I only log queries that have a label (otherwise I wouldn't know what to call them), currently to check for a label in the logHandler I have to do:
if (label =!= "unlabeled") {
I'd be nice if I could get the "unlabeled" value from Doobie directly to defend against future changes and save the 'magic string'
"unlabeled"
It'd be better if label was an Option, but I appreciate that would probably be a significant breaking change!
The text was updated successfully, but these errors were encountered:
expose "unlabelled"
5d873fe
also remove unused method void fixed #1923
3eba493
Thanks @jatcwang @felix-hedenstrom !
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I'm using a Doobie 1.x loghandler to expose execution times for my queries via a prometheus metrics endpoint from my application.
I only log queries that have a label (otherwise I wouldn't know what to call them), currently to check for a label in the logHandler I have to do:
if (label =!= "unlabeled") {
I'd be nice if I could get the
"unlabeled"
value from Doobie directly to defend against future changes and save the 'magic string'It'd be better if label was an Option, but I appreciate that would probably be a significant breaking change!
The text was updated successfully, but these errors were encountered: