Skip to content

How to fix "This aggregator does not support recording long values" when using a gauge with callback? #4841

Discussion options

You must be logged in to vote

It was just a matter of returning a double in getCpuUsage instead of a long 🤦 , I can't delete this discussion though.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jkwatson
Comment options

Answer selected by gabrielgiussi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants