dataloader icon indicating copy to clipboard operation
dataloader copied to clipboard

Metrics for cache hit rate etc.

Open deefdragon opened this issue 2 years ago • 1 comments

The cache in dataloader alone is an incredibly useful tool for backing up requests, but one of the things that I am interested in with regards to the added complexity of a data loader is if the cache is being useful. Id like to track the hit-rate of my cache, but the current tracer does not provide enough information to inject metrics.

Would there be any way to add metrics tracking of some form? (I use prometheus metrics so direct support of those would be nice, but an adjustable interface like used for tracing would likely be better.)

deefdragon avatar Feb 11 '23 11:02 deefdragon

U need add metrics to your cache.

eaglemoor avatar Mar 15 '23 10:03 eaglemoor