Documentation
¶
Index ¶
- type ClientPrometheusPlugin
- type OpenTracingPlugin
- func (p *OpenTracingPlugin) DoPostCall(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error
- func (p *OpenTracingPlugin) DoPostReadRequestHeader(ctx context.Context, r *core.Request) error
- func (p *OpenTracingPlugin) DoPostWriteResponse(ctx context.Context, resp *core.Response, body interface{}) error
- func (p *OpenTracingPlugin) DoPreCall(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error
- type ServerPrometheusPlugin
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
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 (*OpenTracingPlugin) DoPostWriteResponse ¶
type ServerPrometheusPlugin ¶
type ServerPrometheusPlugin struct {
// contains filtered or unexported fields
}
ServerPrometheusPlugin for Prometheus.
func NewServerPrometheusPlugin ¶
func NewServerPrometheusPlugin() *ServerPrometheusPlugin
func (*ServerPrometheusPlugin) DoPostReadRequestHeader ¶
func (*ServerPrometheusPlugin) DoPostWriteResponse ¶
Click to show internal directories.
Click to hide internal directories.