Documentation ¶
Index ¶
- Constants
- type Config
- type Querier
- func (q *Querier) CreateAndRegisterWorker(tracesHandler http.Handler) error
- func (q *Querier) FindTraceByID(ctx context.Context, req *tempopb.TraceByIDRequest) (*tempopb.TraceByIDResponse, error)
- func (q *Querier) RegisterSubservices(s ...services.Service) error
- func (q *Querier) TraceByIDHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( TraceIDVar = "traceID" BlockStartKey = "blockStart" BlockEndKey = "blockEnd" QueryIngestersKey = "queryIngesters" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { QueryTimeout time.Duration `yaml:"query_timeout"` ExtraQueryDelay time.Duration `yaml:"extra_query_delay,omitempty"` MaxConcurrentQueries int `yaml:"max_concurrent_queries"` Worker cortex_frontend.WorkerConfig `yaml:"frontend_worker"` }
Config for a querier.
type Querier ¶
Querier handlers queries.
func New ¶
func New(cfg Config, clientCfg ingester_client.Config, ring ring.ReadRing, store storage.Store, limits *overrides.Overrides) (*Querier, error)
New makes a new Querier.
func (*Querier) CreateAndRegisterWorker ¶ added in v0.5.0
func (*Querier) FindTraceByID ¶
func (q *Querier) FindTraceByID(ctx context.Context, req *tempopb.TraceByIDRequest) (*tempopb.TraceByIDResponse, error)
FindTraceByID implements tempopb.Querier.
func (*Querier) RegisterSubservices ¶ added in v0.5.0
func (*Querier) TraceByIDHandler ¶
func (q *Querier) TraceByIDHandler(w http.ResponseWriter, r *http.Request)
TraceByIDHandler is a http.HandlerFunc to retrieve traces
Click to show internal directories.
Click to hide internal directories.