tempo

package
v1.82.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AND      operandType = "&&"
	OR       operandType = "||"
	EQUAL    operandType = "="
	NOTEQUAL operandType = "!="
	REGEX    operandType = "=~"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	// contains filtered or unexported fields
}

Groups are ()

type OtelHTTPClient

type OtelHTTPClient struct {
	ClusterTag bool
}

func NewOtelClient added in v1.78.0

func NewOtelClient(client http.Client, baseURL *url.URL) (otelClient *OtelHTTPClient, err error)

New client

func (OtelHTTPClient) GetAppTracesHTTP

func (oc OtelHTTPClient) GetAppTracesHTTP(client http.Client, baseURL *url.URL, serviceName string, q models.TracingQuery) (response *model.TracingResponse, err error)

GetAppTracesHTTP search traces

func (OtelHTTPClient) GetServiceStatusHTTP

func (oc OtelHTTPClient) GetServiceStatusHTTP(client http.Client, baseURL *url.URL) (bool, error)

GetServiceStatusHTTP get service status

func (OtelHTTPClient) GetTraceDetailHTTP

func (oc OtelHTTPClient) GetTraceDetailHTTP(client http.Client, endpoint *url.URL, traceID string) (*model.TracingSingleTrace, error)

GetTraceDetailHTTP get one trace by trace ID

type Subquery

type Subquery struct {
	// contains filtered or unexported fields
}

Subqueries are {}

type TempoGRPCClient added in v1.78.0

type TempoGRPCClient struct {
	StreamingClient tempopb.StreamingQuerierClient
	ClusterTag      bool
}

func NewgRPCClient added in v1.78.0

func NewgRPCClient(client http.Client, baseURL *url.URL, clientConn *grpc.ClientConn) (otelClient *TempoGRPCClient, err error)

New client

func (TempoGRPCClient) FindTraces added in v1.78.0

func (jc TempoGRPCClient) FindTraces(ctx context.Context, serviceName string, q models.TracingQuery) (response *model.TracingResponse, err error)

func (TempoGRPCClient) GetServices added in v1.78.0

func (jc TempoGRPCClient) GetServices(ctx context.Context) (bool, error)

GetServices Test an empty search to check if the service is available

func (TempoGRPCClient) GetTrace added in v1.78.0

func (jc TempoGRPCClient) GetTrace(ctx context.Context, strTraceID string) (*model.TracingSingleTrace, error)

GetTrace is not implemented by the streaming client

type TraceQL

type TraceQL struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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