package
1.1.0-rc.1
Repository: https://github.com/soopsio/cockroach.git
Documentation: pkg.go.dev

# Packages

Package tspb is a reverse proxy.

# Functions

DecodeDataKey decodes a time series key into its components.
MakeDataKey creates a time series data key for the given series name, source, Resolution and timestamp.
MakeServer instantiates a new Server which services requests with data from the supplied DB.
NewDB creates a new DB instance.

# Constants

Resolution10s stores data with a sample resolution of 10 seconds.
URLPrefix is the prefix for all time series endpoints hosted by the server.

# Structs

DB provides Cockroach's Time Series API.
Server handles incoming external requests related to time series data.
ServerConfig provides a means for tests to override settings in the time series server.

# Interfaces

A DataSource can be queryied for a slice of time series data.

# Type aliases

Resolution is used to enumerate the different resolution values supported by Cockroach.