component

package
v0.10.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bucket     = source{/* contains filtered or unexported fields */}
	Compact    = source{/* contains filtered or unexported fields */}
	Downsample = source{/* contains filtered or unexported fields */}
	Query      = sourceStoreAPI{/* contains filtered or unexported fields */}
	Rule       = sourceStoreAPI{/* contains filtered or unexported fields */}
	Sidecar    = sourceStoreAPI{/* contains filtered or unexported fields */}
	Store      = sourceStoreAPI{/* contains filtered or unexported fields */}
	Receive    = sourceStoreAPI{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type Component added in v0.7.0

type Component interface {
	String() string
}

Component is a generic component interface.

type Source

type Source interface {
	String() string
	// contains filtered or unexported methods
}

Source is a Thanos component that produce blocks of metrics.

type SourceStoreAPI

type SourceStoreAPI interface {
	String() string
	ToProto() storepb.StoreType
	// contains filtered or unexported methods
}

SourceStoreAPI is a component that implements Thanos' gRPC StoreAPI and produce blocks of metrics.

type StoreAPI

type StoreAPI interface {
	String() string
	ToProto() storepb.StoreType
	// contains filtered or unexported methods
}

StoreAPI is a component that implements Thanos' gRPC StoreAPI.

func FromProto

func FromProto(storeType storepb.StoreType) StoreAPI

FromProto converts from a gRPC StoreType to StoreAPI.

Jump to

Keyboard shortcuts

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