package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
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.
MakeQueryMemoryContext constructs a new query memory context from the given parameters.
MakeServer instantiates a new Server which services requests with data from the supplied DB.
NewDB creates a new DB instance.
NewTimeSeriesMetrics creates a new instance of TimeSeriesMetrics.

# Constants

Resolution10s stores data with a sample resolution of 10 seconds.
Resolution30m stores roll-up data from a higher resolution at a sample resolution of 30 minutes.
URLPrefix is the prefix for all time series endpoints hosted by the server.

# Variables

DeprecatedResolution10StoreDuration is a deprecated setting that previously configured how long time series data was retained; it has been replaced with Resolution10sStorageTTL.
Resolution10sStorageTTL defines the maximum age of data that will be retained at he 10 second resolution.
Resolution30mStorageTTL defines the maximum age of data that will be retained at he 30 minute resolution.
TimeseriesStorageEnabled controls whether to store timeseries data to disk.

# Structs

DB provides Cockroach's Time Series API.
QueryMemoryContext encapsulates the memory-related parameters of a time series query.
QueryMemoryOptions represents the adjustable options of a QueryMemoryContext.
QueryTimespan describes the time range information for a query - the start and end bounds of the query, along with the requested duration of individual samples to be returned.
Server handles incoming external requests related to time series data.
ServerConfig provides a means for tests to override settings in the time series server.
TimeSeriesMetrics contains metrics relevant to the time series system.

# Interfaces

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

# Type aliases

ClusterNodeCountFn is a function that returns the number of nodes active on the cluster.
Resolution is used to enumerate the different resolution values supported by Cockroach.