Version: v0.6.0 Latest Latest

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 6 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Config

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

Config is the structure of the configuration for a single Jaeger instance.

type Instance

type Instance struct {
	Name string
	// contains filtered or unexported fields

Instance represents a single Jaeger instance, which can be added via the configuration file.

func New

func New(config Config) (*Instance, error)

New returns a new Elasticsearch instance for the given configuration.

func (*Instance) GetOperations

func (i *Instance) GetOperations(ctx context.Context, service string) (map[string]interface{}, error)

func (*Instance) GetServices

func (i *Instance) GetServices(ctx context.Context) (map[string]interface{}, error)

func (*Instance) GetTrace

func (i *Instance) GetTrace(ctx context.Context, traceID string) (map[string]interface{}, error)

func (*Instance) GetTraces

func (i *Instance) GetTraces(ctx context.Context, limit, maxDuration, minDuration, operation, service, tags string, timeStart, timeEnd int64) (map[string]interface{}, error)

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.

Source Files

Jump to

Keyboard shortcuts

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