tracing

package
v0.0.0-...-491056b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientPrometheusPlugin

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

ClientPrometheusPlugin for Prometheus.

func NewClientPrometheusPlugin

func NewClientPrometheusPlugin() *ClientPrometheusPlugin

func (*ClientPrometheusPlugin) DoPostCall

func (p *ClientPrometheusPlugin) DoPostCall(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error

func (*ClientPrometheusPlugin) DoPreCall

func (p *ClientPrometheusPlugin) DoPreCall(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error

type OpenTracingPlugin

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

OpenTracingPlugin for opentracing and zipkin.

func NewOpenTracingPlugin

func NewOpenTracingPlugin(tracer opentracing.Tracer) *OpenTracingPlugin

func (*OpenTracingPlugin) DoPostCall

func (p *OpenTracingPlugin) DoPostCall(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error

func (*OpenTracingPlugin) DoPostReadRequestHeader

func (p *OpenTracingPlugin) DoPostReadRequestHeader(ctx context.Context, r *core.Request) error

func (*OpenTracingPlugin) DoPostWriteResponse

func (p *OpenTracingPlugin) DoPostWriteResponse(ctx context.Context, resp *core.Response, body interface{}) error

func (*OpenTracingPlugin) DoPreCall

func (p *OpenTracingPlugin) DoPreCall(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error

type ServerPrometheusPlugin

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

ServerPrometheusPlugin for Prometheus.

func NewServerPrometheusPlugin

func NewServerPrometheusPlugin() *ServerPrometheusPlugin

func (*ServerPrometheusPlugin) DoPostReadRequestHeader

func (p *ServerPrometheusPlugin) DoPostReadRequestHeader(ctx context.Context, r *core.Request) error

func (*ServerPrometheusPlugin) DoPostWriteResponse

func (p *ServerPrometheusPlugin) DoPostWriteResponse(ctx context.Context, resp *core.Response, body interface{}) error

Jump to

Keyboard shortcuts

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