Registry / database / prometheus-tsdb

prometheus-tsdb

JSON →
library0.10.0gogounverified

Package tsdb implements a time series storage for float64 sample data.

go get github.com/prometheus/tsdb
INSTALL
IMPORT
SIG · PROMETHEUS-TSDB
P
prometheus-tsdb
databasegov0.10.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.

tsdb
github.com/prometheus/tsdb

Open a Prometheus TSDB database.

package main import ( "fmt" "github.com/prometheus/tsdb" ) func main() { db, _ := tsdb.Open("data", nil, nil, nil) defer db.Close() fmt.Println("TSDB opened") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
prometheus-tsdb — go get prometheus-tsdb · libregistry