jaeger

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(cfg []Config, grpcServer *grpc.Server) ([]*pluginsProto.PluginShort, error)

Types

type Config

type Config struct {
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	Address     string `yaml:"address"`
	Username    string `yaml:"username"`
	Password    string `yaml:"password"`
	Token       string `yaml:"token"`
}

type Instance

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

type Jaeger

type Jaeger struct {
	jaegerProto.UnimplementedJaegerServer
	// contains filtered or unexported fields
}

func (*Jaeger) GetOperations

func (j *Jaeger) GetOperations(ctx context.Context, getOperationsRequest *jaegerProto.GetOperationsRequest) (*jaegerProto.GetOperationsResponse, error)

func (*Jaeger) GetServices

func (j *Jaeger) GetServices(ctx context.Context, getServicesRequest *jaegerProto.GetServicesRequest) (*jaegerProto.GetServicesResponse, error)

func (*Jaeger) GetTrace

func (j *Jaeger) GetTrace(ctx context.Context, getTraceRequest *jaegerProto.GetTraceRequest) (*jaegerProto.GetTraceResponse, error)

func (*Jaeger) GetTraces

func (j *Jaeger) GetTraces(ctx context.Context, getTracesRequest *jaegerProto.GetTracesRequest) (*jaegerProto.GetTracesResponse, error)

type ResponseDataOperations

type ResponseDataOperations struct {
	Data []*jaegerProto.Operation `json:"data"`
}

ResponseDataOperations is the structure of the response for a operations request against the Jaeger API.

type ResponseDataServices

type ResponseDataServices struct {
	Data []string `json:"data"`
}

ResponseDataServices is the structure of the response for a services request against the Jaeger API.

type ResponseError

type ResponseError struct {
	Errors []struct {
		Code int    `json:"code"`
		Msg  string `json:"msg"`
	} `json:"errors"`
}

ResponseError is the structure for a failed Jaeger API request.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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