storage

package
v0.0.0-...-bfdd474 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fanout

type Fanout []SampleAppender

Fanout is a SampleAppender that appends every sample to a list of other SampleAppenders.

func (Fanout) Append

func (f Fanout) Append(s *model.Sample)

Append implements SampleAppender. It appends the provided sample to all SampleAppenders in the Fanout slice and waits for each append to complete before proceeding with the next.

type SampleAppender

type SampleAppender interface {
	Append(*model.Sample)
}

SampleAppender is the interface to append samples to both, local and remote storage.

Directories

Path Synopsis
Package local contains the local time series storage used by Prometheus.
Package local contains the local time series storage used by Prometheus.
codable
Package codable provides types that implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler and functions that help to encode and decode primitives.
Package codable provides types that implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler and functions that help to encode and decode primitives.
index
Package index provides a number of indexes backed by persistent key-value stores.
Package index provides a number of indexes backed by persistent key-value stores.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL