package
0.0.0-20240916203516-2473a21e2bfc
Repository: https://github.com/kava-labs/kava-proxy-service.git
Documentation: pkg.go.dev

# Functions

NewMetricCompactionRoutine creates a new metric compaction routine using the provided config, returning the routine and error (if any).
NewMetricPartitioningRoutine creates a new metric partitioning routine using the provided config, returning the routine and error (if any).
NewMetricPruningRoutine creates a new metric Pruning routine using the provided config, returning the routine and error (if any).

# Structs

MetricCompactionRoutine can be used to run a background routine on a configurable interval to aggregate and prune historical request metrics.
MetricCompactionRoutineConfig wraps values used for creating a new metric compaction routine.
MetricPartitioningRoutine can be used to run a background routine on a configurable interval to aggregate and prune historical request metrics.
MetricPartitioningRoutineConfig wraps values used for creating a new metric partitioning routine.
MetricPruningRoutine can be used to run a background routine on a configurable interval to aggregate and prune historical request metrics.
MetricPruningRoutineConfig wraps values used for creating a new metric Pruning routine.