On Thu, 26 Mar 2020 at 13:36, marko <[email protected]> wrote:

> Got it - thanks!
>
> So, I'll just update my queries as follows:
> java_lang_GarbageCollector_CollectionCount ==>
> jvm_gc_collection_seconds_count
> java_lang_GarbageCollector_CollectionTime (in millis) ==>
> jvm_gc_collection_seconds_sum (in seconds)
>
> If it's not recommended to use java.lang metrics, should I blacklist them
> from getting exported? Is there any benefit from doing that?
> blacklistObjectNames: ["java.lang:*"]
>

You'll save a small bit of resources to blacklist them, though usually it'd
be more than your rules never matched them in the first places.

-- 
Brian Brazil
www.robustperception.io

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAHJKeLoSxK12whRdxgqL%3Db_W7cksQAg7nby5Kag%3DRq4kV-ro_w%40mail.gmail.com.

Reply via email to