Top 2.1% forks on proxy.golang.org
proxy.golang.org : github.com/codahale/Metrics
Package metrics provides minimalist instrumentation for your applications in the form of counters and gauges. A counter is a monotonically-increasing, unsigned, 64-bit integer used to represent the number of times an event has occurred. By tracking the deltas between measurements of a counter over intervals of time, an aggregation layer can derive rates, acceleration, etc. A gauge returns instantaneous measurements of something using signed, 64-bit integers. This value does not need to be monotonic. A histogram tracks the distribution of a stream of values (e.g. the number of milliseconds it takes to handle requests), adding gauges for the values at meaningful quantiles: 50th, 75th, 90th, 95th, 99th, 99.9th. Measurements from counters and gauges are available as expvars. Your service should return its expvars from an HTTP endpoint (i.e., /debug/vars) as a JSON object.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/codahale/%21metrics
License: MIT
Latest release: over 8 years ago
First release: over 8 years ago
Namespace: github.com/codahale
Stars: 451 on GitHub
Forks: 49 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago