Top 2.5% dependent repos on proxy.golang.org
proxy.golang.org : github.com/bsm/instruments
Package instruments allows you to collects metrics over discrete time intervals. Collected metrics will only reflect observations from last time window only, rather than including observations from prior windows, contrary to EWMA based metrics. Instruments support two types of instruments: Discrete instruments return a single value, and Sample instruments a value distribution. Theses base instruments are available: - Counter: holds a counter that can be incremented or decremented. - Rate: tracks the rate of values per seconds. - Reservoir: randomly samples values. - Derive: tracks the rate of values based on the delta with previous value. - Gauge: tracks last value. - Timer: tracks durations. You can create custom instruments or compose new instruments form the built-in instruments as long as they implements the Sample or Discrete interfaces.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/bsm/instruments
Keywords:
go
, golang
, histogram
, instrumentation
License: MIT
Latest release: about 3 years ago
First release: almost 9 years ago
Namespace: github.com/bsm
Dependent packages: 4
Dependent repositories: 4
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago