-
Notifications
You must be signed in to change notification settings - Fork 0
Getting operational metrics
Esta Nagy edited this page Jan 25, 2021
·
2 revisions
Having more insights about how your service behaves and what happens with your requests is very useful in most cases. This is the reason, why Cache-Only provides BatchServiceCallMetricCollector to let you roll your own variant and get information about crucial data about your service calls.
Method name | Meaning |
---|---|
cacheGet | Counts the number of cache GET calls made while processing requests. |
cacheHit | Counts the number of cache GET calls resulting in HIT while processing requests. |
cacheMiss | Counts the number of cache GET calls resulting in MISS while processing requests. |
cachePut | Counts the number of cache PUT calls made while processing requests. |
partitionsCreated | Counts the number of partitions created for calling the origin service. |
partitionsFailed | Counts the number of partitions resulting in failure when calling the origin. |
partitionsSucceeded | Counts the number of partitions resulting in success when calling the origin. |
After creating your metric collector, simply set it as the value of the metricsCollector
property of your template.