Documentation ¶
Overview ¶
Package skywalking implements skywalking plugin.
Index ¶
- func GlobalTracer() *go2sky.Tracer
- type SkyFilter
- func (sky SkyFilter) ClientFilter() filter.ClientFilter
- func (sky SkyFilter) InterceptClient(ctx context.Context, req, rsp interface{}, f filter.ClientHandleFunc) error
- func (sky SkyFilter) InterceptServer(ctx context.Context, req interface{}, f filter.ServerHandleFunc) (interface{}, error)
- func (sky SkyFilter) ServerFilter() filter.ClientFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SkyFilter ¶
type SkyFilter struct {
// contains filtered or unexported fields
}
SkyFilter skywalking 过滤器实现
func NewSkyWalking ¶
NewSkyWalking 实例化过滤器实现
func (SkyFilter) ClientFilter ¶
func (sky SkyFilter) ClientFilter() filter.ClientFilter
ClientFilter 客户端 RPC 调用分布式追踪过滤器 Deprecated: Use InterceptClient instead.
func (SkyFilter) InterceptClient ¶
func (sky SkyFilter) InterceptClient(ctx context.Context, req, rsp interface{}, f filter.ClientHandleFunc) error
InterceptClient is the client filter for tracing RPC.
func (SkyFilter) InterceptServer ¶
func (sky SkyFilter) InterceptServer( ctx context.Context, req interface{}, f filter.ServerHandleFunc, ) (interface{}, error)
InterceptServer is the server filter for tracing RPC.
func (SkyFilter) ServerFilter ¶
func (sky SkyFilter) ServerFilter() filter.ClientFilter
ServerFilter 服务端 RPC 调用分布式追踪过滤器 Deprecated: Use InterceptServer instead.
Click to show internal directories.
Click to hide internal directories.