Class PredicateUtils
java.lang.Object
io.confluent.telemetry.PredicateUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longMaximum size of the pattern matcher cache. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
MATCHER_CACHE_MAX_SIZE
public static final long MATCHER_CACHE_MAX_SIZEMaximum size of the pattern matcher cache. If the count of unique metric names in a single collection cycle exceeds this size, the cache will actually cause a performance penalty due to thrashing. Currently, there are almost 3000 unique metric names in Kafka.- See Also:
-
-
Constructor Details
-
PredicateUtils
public PredicateUtils()
-
-
Method Details
-
buildCachingMetricsPredicate
-