]
Ryan Emerson updated ISPN-12607:
--------------------------------
Security: (was: Red Hat Internal)
Metrics degrade cluster performance
-----------------------------------
Key: ISPN-12607
URL:
https://issues.redhat.com/browse/ISPN-12607
Project: Infinispan
Issue Type: Bug
Affects Versions: 12.0.0.CR1, 11.0.8.Final
Reporter: Ryan Emerson
Priority: Major
The `/metrics` endpoint exposes Infinispan stats so that they can be periodically scraped
by monitoring tools such as Prometheus. However, these stats include calls to `size` which
does not perform well as the number of entries in a cache increase. Consequently, if
deploying DG in a k8 environment with Prometheus monitoring the DG cluster performance
rapidly declines as the number of entries in a cache increases due to time /resources
spent iterating the cache container.
This problem is only exasperated when muiltiple caches exist with many entries exist.