Registry / observability / lightstep-go-expohisto

lightstep-go-expohisto

JSON →
library1.0.0gogounverified

Package expohisto provides utilities for converting between values and bucket indices in exponential histograms, along with a generic data structure.

go get github.com/lightstep/go-expohisto
INSTALL
IMPORT
SIG · LIGHTSTEP-GO-EXPOH
L
lightstep-go-expohisto
observabilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

expohisto
github.com/lightstep/go-expohisto

Minimal example showing how to map a value to a bucket index using the mapping sub-package.

package main import ( "fmt" "github.com/lightstep/go-expohisto/mapping" ) func main() { m, _ := mapping.NewMapping(10) index := m.MapToIndex(3.14) fmt.Println("Bucket index:", index) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
lightstep-go-expohisto — go get lightstep-go-expohisto · libregistry