Documentation ¶
Index ¶
- func BulkheadRegistry(entry bulkhead.Bulkhead) (RegisterFn, UnregisterFn)
- func CacheRegistry[K any, V any](entry cache.Cache[K, V]) (RegisterFn, UnregisterFn)
- func CircuitBreakerRegistry(entry circuitbreaker.CircuitBreaker, histogramBuckets ...float64) (RegisterFn, UnregisterFn)
- func RateLimiterRegistry(entry ratelimiter.RateLimiter) (RegisterFn, UnregisterFn)
- func RetryRegistry(entry retry.Retry) (RegisterFn, UnregisterFn)
- func TimeLimiterRegistry(entry timelimiter.TimeLimiter) (RegisterFn, UnregisterFn)
- type RegisterFn
- type UnregisterFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkheadRegistry ¶
func BulkheadRegistry(entry bulkhead.Bulkhead) (RegisterFn, UnregisterFn)
func CacheRegistry ¶ added in v0.4.0
func CacheRegistry[K any, V any](entry cache.Cache[K, V]) (RegisterFn, UnregisterFn)
func CircuitBreakerRegistry ¶
func CircuitBreakerRegistry(entry circuitbreaker.CircuitBreaker, histogramBuckets ...float64) (RegisterFn, UnregisterFn)
func RateLimiterRegistry ¶
func RateLimiterRegistry(entry ratelimiter.RateLimiter) (RegisterFn, UnregisterFn)
func RetryRegistry ¶
func RetryRegistry(entry retry.Retry) (RegisterFn, UnregisterFn)
func TimeLimiterRegistry ¶
func TimeLimiterRegistry(entry timelimiter.TimeLimiter) (RegisterFn, UnregisterFn)
Types ¶
type RegisterFn ¶
type RegisterFn = func(prometheus.Registerer) error
type UnregisterFn ¶
type UnregisterFn = func(prometheus.Registerer) bool
Click to show internal directories.
Click to hide internal directories.