Versions in this module Expand all Collapse all v18 v18.0.0 May 14, 2025 Changes in this version + func Register(registerer prometheus.Registerer, toRegister ...prometheus.Collector) error + type AllowLimiter interface + Allow func(context.Context) bool + type AllowLimiterInstrumentation struct + func NewAllowLimiterInstrumentation(limiterName string, limit float64, limitUnit string, tr trace.Tracer, ...) (*AllowLimiterInstrumentation, error) + func (i *AllowLimiterInstrumentation) Allow(ctx context.Context) (allowed bool) + type LimiterWrapper struct + func NewLimiterWrapper(limiterName string, limit float64, limitUnit string, m otelmetric.Meter, ...) (*LimiterWrapper, error) + func (w *LimiterWrapper) Start(ctx context.Context) (context.Context, func(allowed bool)) + type OtelErrorHandler slog.Logger + func (h *OtelErrorHandler) Handle(err error) + type WaitLimiter interface + Wait func(context.Context) error + type WaitLimiterInstrumentation struct + func NewWaitLimiterInstrumentation(limiterName string, limit float64, limitUnit string, tr trace.Tracer, ...) (*WaitLimiterInstrumentation, error) + func (i *WaitLimiterInstrumentation) Wait(ctx context.Context) error v18.0.0-rc42 May 13, 2025 Other modules containing this package gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v14 gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v15 gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16 gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17