Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registerer prometheus.Registerer, toRegister ...prometheus.Collector) error
Types ¶
type AllowLimiter ¶ added in v16.5.0
type AllowLimiterInstrumentation ¶ added in v16.5.0
type AllowLimiterInstrumentation struct {
// contains filtered or unexported fields
}
func NewAllowLimiterInstrumentation ¶ added in v16.5.0
func NewAllowLimiterInstrumentation(limiterName string, limit float64, limitUnit string, tr trace.Tracer, m otelmetric.Meter, delegate AllowLimiter) (*AllowLimiterInstrumentation, error)
type LimiterWrapper ¶ added in v16.5.0
type LimiterWrapper struct {
// contains filtered or unexported fields
}
func NewLimiterWrapper ¶ added in v16.5.0
func NewLimiterWrapper(limiterName string, limit float64, limitUnit string, m otelmetric.Meter, tr trace.Tracer) (*LimiterWrapper, error)
type OtelErrorHandler ¶
func (*OtelErrorHandler) Handle ¶
func (h *OtelErrorHandler) Handle(err error)
type WaitLimiter ¶ added in v16.5.0
type WaitLimiterInstrumentation ¶ added in v16.5.0
type WaitLimiterInstrumentation struct {
// contains filtered or unexported fields
}
func NewWaitLimiterInstrumentation ¶ added in v16.5.0
func NewWaitLimiterInstrumentation(limiterName string, limit float64, limitUnit string, tr trace.Tracer, m otelmetric.Meter, delegate WaitLimiter) (*WaitLimiterInstrumentation, error)
Click to show internal directories.
Click to hide internal directories.