-
Notifications
You must be signed in to change notification settings - Fork 69
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
ClassCastException when including all metrics via domain_regex #415
Comments
Looking further at the documentation... it seems like this is just straight up not possible. Is there a way to say in the configuration, for a specific bean: must be interpreted as a specific dataype? |
It looks like the problem here is Solr is returning |
I'll give it an attempt, though from what I'm reading those statistics are only for the QueryResultCache, whereas I'm explicitely only in interested in the FieldCache |
Yeah no those values are not the same thing. It seems And from what I can tell there is currently no way of dealing with that? |
Yes, at the moment there is no way to deal with values such as |
Oh wow, I did a bit of a search before making this, but I don't recall finding that. Yes, that seems identical, so I'll close this one. Thanks for your time. |
There's no way to fully add the relevant info here without either removing too much, or revealing setup details. So here's my description:
I've run into a situation where I'm trying to get all JMX metrics from a Solr database.
Solr has what's known as a
FieldCache
. One of the beans for this is thetotal_size
of theFieldCache
.In my logs I'm seeing this(manually truncated here):
Looks like the output is "232.2 MB" and an attempt is made to cast this to a number. And it fails there.
What steps can I take to resolve this? Or is this something in the code that needs to be resolved?
Since I want to get all possible metrics from the database, I'm using a
domain_regex
instead of mapping individual metrics. Should I move to mapping individual metrics in the configuration? Or would that still not work?The text was updated successfully, but these errors were encountered: