store

package
v0.0.0-...-42b049c Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCAppendable

func NewGRPCAppendable(logger log.Logger, c storepb.WritableProfileStoreClient) *grpcStoreAppendable

func NewGRPCQueryable

func NewGRPCQueryable(c storepb.ReadableProfileStoreClient) *grpcStoreClient

func NewProfileStore

func NewProfileStore(logger log.Logger, db db, maxBytesPerFrame int) *profileStore

func RegisterReadableStoreServer

func RegisterReadableStoreServer(storeSrv storepb.ReadableProfileStoreServer) func(*grpc.Server)

func RegisterSymbolStore

func RegisterSymbolStore(storeSrv storepb.SymbolStoreServer) func(*grpc.Server)

func RegisterWritableStoreServer

func RegisterWritableStoreServer(storeSrv storepb.WritableProfileStoreServer) func(*grpc.Server)

Types

type EndlessProfileStore

type EndlessProfileStore struct{}

EndlessProfileStore is a no-op writable store and returns infinite amounts of series when reading. This is meant for testing timeout issues.

func NewEndlessProfileStore

func NewEndlessProfileStore() *EndlessProfileStore

func (*EndlessProfileStore) LabelNames

func (*EndlessProfileStore) LabelValues

func (*EndlessProfileStore) Profile

func (*EndlessProfileStore) Series

func (*EndlessProfileStore) Write

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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