storage

package
v0.0.0-...-355f5ee Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Appender

type Appender interface {
	Add(l labels.Labels, timestamp int64, profile []byte) error
}

type Storage

type Storage interface {
	Get(series, timestamp string, read func(io.Reader) error) error
	List() (map[string][]string, error)

	Appender() Appender
}

func NewDiskStorage

func NewDiskStorage(logger log.Logger, path string) Storage

Jump to

Keyboard shortcuts

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