client

package
v0.0.0-...-bfa2730 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TokenFor

func TokenFor(tenantID string) uint32

TokenFor generates a token used for finding ingesters from ring

Types

type Config

type Config struct {
	PoolConfig       ring_client.PoolConfig `yaml:"pool_config,omitempty"`
	RemoteTimeout    time.Duration          `yaml:"remote_timeout,omitempty"`
	GRPCClientConfig grpcclient.Config      `yaml:"grpc_client_config"`
}

func (*Config) RegisterFlags

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

RegisterFlags registers flags.

type TPClient

type TPClient struct {
	services.Service
	// contains filtered or unexported fields
}

func New

func New(clientCfg Config, tracepointRing ring.ReadRing, logger log.Logger) (*TPClient, error)

func (*TPClient) CreateTracepoint

func (*TPClient) DeleteTracepoint

func (*TPClient) ExecuteDeepQl

func (ts *TPClient) ExecuteDeepQl(ctx context.Context, query string) (*deeppb.DeepQlResponse, error)

func (*TPClient) LoadTracepoints

Jump to

Keyboard shortcuts

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