Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCachedTransactionGather ¶
func NewCachedTransactionGather( gather prometheus.TransactionalGatherer, cacheInterval time.Duration, logger log.Logger, ) prometheus.TransactionalGatherer
NewCachedTransactionGather creates cachedTransactionGather, which only allow one request per interval, and pending others until response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.