-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bogus records in database makes plugin to skip database metrics at all #7
Comments
Hello, I attached a PR to address this by logging the bad package's names and moving on. I suppose it could be a metric instead but knowing which package has the issue is more useful I think, so the record can be cleaned up. Are you still on Verdaccio 4? I'm going to be updating dependencies on this plugin to Verdaccio 5, and wasn't planning on making a further Verdaccio 4 release 😄 |
Hi. Thank you!
Agree. |
I've released this small patch as v1.1.1 and verified with my own deployment (on Google Cloud backend), getting a log line like this:
I'll ship 1.2.0 next targeting Verdaccio 5. Thanks for reporting :) |
Cool. I already see it in https://www.npmjs.com/package/verdaccio-openmetrics Thank you very much for the quick fix! |
e.g. for redis database plugin - bogus keys (members) in "ve:pkgs" key makes plugin to skip database metrics at all
(in this case
test
is some bogus record in database)we had some leftovers after migration - but anyway it makes sense to ignore such errors and not stop processing, imho.
thank you!
The text was updated successfully, but these errors were encountered: