Documentation ¶
Index ¶
- Constants
- type Group
- type OtelHTTPClient
- func (oc OtelHTTPClient) GetAppTracesHTTP(client http.Client, baseURL *url.URL, serviceName string, ...) (response *model.TracingResponse, err error)
- func (oc OtelHTTPClient) GetServiceStatusHTTP(client http.Client, baseURL *url.URL) (bool, error)
- func (oc OtelHTTPClient) GetTraceDetailHTTP(client http.Client, endpoint *url.URL, traceID string) (*model.TracingSingleTrace, error)
- type Subquery
- type TempoGRPCClient
- func (jc TempoGRPCClient) FindTraces(ctx context.Context, serviceName string, q models.TracingQuery) (response *model.TracingResponse, err error)
- func (jc TempoGRPCClient) GetServices(ctx context.Context) (bool, error)
- func (jc TempoGRPCClient) GetTrace(ctx context.Context, strTraceID string) (*model.TracingSingleTrace, error)
- type TraceQL
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 OtelHTTPClient ¶
type OtelHTTPClient struct {
ClusterTag bool
}
func NewOtelClient ¶ added in v1.78.0
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 ¶
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
Click to show internal directories.
Click to hide internal directories.