client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, addr string) (grpc_health_v1.HealthClient, error)

New returns a new ingester client.

Types

type Config

type Config struct {
	PoolConfig     cortex_client.PoolConfig `yaml:"pool_config,omitempty"`
	MaxRecvMsgSize int                      `yaml:"max_recv_msg_size,omitempty"`
	RemoteTimeout  time.Duration            `yaml:"remote_timeout,omitempty"`
}

Config for an ingester client.

func (*Config) RegisterFlags

func (cfg *Config) RegisterFlags(f *flag.FlagSet)

RegisterFlags registers flags.

Jump to

Keyboard shortcuts

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