Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDropwizardExports throws NPE if gauge's value is null #3272
Comments
This comment has been minimized.
This comment has been minimized.
|
This is the wrong repository, could you file this in client_java? |
brian-brazil
closed this
Oct 11, 2017
This comment has been minimized.
This comment has been minimized.
|
Yes, filed prometheus/client_java#301 |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
DmitryLipiev commentedOct 10, 2017
What did you do?
Tried to export Dropwizard metrics
What did you expect to see?
A list of Prometheus metrics in my browser
What did you see instead? Under which circumstances?
Internal server error. Some of our gauge metrics are initialized to null, when DropwizardExports comes across them it throws NPE at line 54:
LOGGER.log(Level.FINE, String.format("Invalid type for Gauge %s: %s", name, obj.getClass().getName()));
Environment
Ubuntu 16.04, Java8
Linux 4.4.0-96-generic x86_64