-
Notifications
You must be signed in to change notification settings - Fork 102
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
Allow users to opt out of prometheus metrics #124
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dleen - this LGTM and addresses an issue that multiple consumers are running into.
My only suggestion would be that it might be helpful to indicate at runtime (via a log message, DEBUG or INFO) that Prometheus metric collection has been disabled, but I'd be fine releasing without the messaging as well.
@kevin-bates good suggestion! done! |
5cdc1ed
to
2a39df8
Compare
Hi @jtpio - I'm hoping you might be able to give this PR some attention relative to its review/merge/release as it will alleviate some heartburn for others. In looking into this, I found that the lint tooling must have changed over (I'm assuming) its last major release and have provided PR #138 to address the linting failures evident on the various PRs - so it might be helpful to review/merge that PR prior to others. I you need help, or I should be reaching out to someone else, please let me know. Thank you. |
Poor mans fix for jupyter-server#123
Co-authored-by: Kevin Bates <kbates4@gmail.com>
Thanks @kevin-bates for the ping, this looks good. I used the GitHub button to rebase the branch to make sure to grab the fixes from #138: Also this repo is compatible with the Jupyter Releaser so we can make a 0.6.2 release after merging this. Actually @kevin-bates if you would like to make the release feel free to proceed. You should have publish access to PyPI already. And I can add you to npm if you give me your username (the JupyterLab extension is also published to npm for consistency): https://www.npmjs.com/package/@jupyter-server/resource-usage |
Hi @jtpio. I'm sorry, I don't currently have the bandwidth to revisit the jupyter-releaser stuff (I've used it once, probably late last year) and wouldn't want to mess things up. If you're unable to get to this in the next couple of days, I could probably spend some time with it on Friday. FWIW, my |
Poor mans fix for #123