sematext / sematext-agent-java

Sematext Monitoring Agent
https://sematext.com/spm
Apache License 2.0
23 stars 9 forks source link

Agent shouldn't report -1 as pool.max for unlimited JVM pools #64

Closed bsmid closed 4 years ago

bsmid commented 4 years ago

Example of such pool is Metaspace. When -1 is returned it can break various kind of calculations (like % used which becomes negative).

bsmid commented 4 years ago

The fix was made in agent configs:

https://github.com/sematext/sematext-agent-integrations/commit/b1bcba70dd27c34efa3d336dbcec3998ae1585bb