An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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.

Ecosystem
proxy.golang.org
Latest Release
v1.4.0
almost 4 years ago
Versions
18
Dependent Packages
4
Dependent Repos
4
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/bsm/instruments
spec
License MIT
Namespace github.com/bsm
First Release over 9 years ago
Last Synced 22 days ago
Repository
Stars 0 on GitHub
Forks 1 on GitHub
Rankings on proxy.golang.org
Dependent packages Top 2.8%
Dependent repos Top 2.5%