Skip to content
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

invalid type for gauge #8

Open
bobo opened this issue Aug 14, 2018 · 5 comments
Open

invalid type for gauge #8

bobo opened this issue Aug 14, 2018 · 5 comments

Comments

@bobo
Copy link

bobo commented Aug 14, 2018

Im getting a lot of
Invalid type for Gauge jvm.attribute.name: java.lang.String
Invalid type for Gauge jvm.threads.deadlocks: java.util.Collections$EmptySet
Invalid type for Gauge jvm.attribute.vendor: java.lang.String

Similar to
prometheus/client_java#250

Is that due to something in this lib or do you think it is on the prometheus side?

@ochedru
Copy link

ochedru commented Aug 14, 2018

Do you have a testcase? Or, at least, what versions of dropwizard and dropwizard-prometheus are you using? Thanks.

@bobo
Copy link
Author

bobo commented Oct 31, 2018

I stumbed back into this, the reason is:
https://metrics.dropwizard.io/4.0.0/apidocs/com/codahale/metrics/jvm/JvmAttributeGaugeSet.html
That has Gauges with strings, sounds realy weird. So wouldnt say its dropwizard-prometheus fault.

@safa-yakoub
Copy link

I didnt get the point ?
Im getting a lot of
Invalid type for Gauge jvm.threads.deadlocks: java.util.Collections$EmptySet

@0xAda
Copy link

0xAda commented Apr 28, 2021

I'm also having this issue, is there a workaround/fix?

@Sammers21
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants