Documentation ¶
Index ¶
- type OpenTelemetryPlugin
- func (p OpenTelemetryPlugin) HandleConnAccept(conn net.Conn) (net.Conn, bool)
- func (p OpenTelemetryPlugin) PostWriteResponse(ctx context.Context, req *protocol.Message, res *protocol.Message, err error) error
- func (p OpenTelemetryPlugin) PreHandleRequest(ctx context.Context, r *protocol.Message) error
- func (p OpenTelemetryPlugin) Register(name string, rcvr interface{}, metadata string) error
- func (p OpenTelemetryPlugin) RegisterFunction(serviceName, fname string, fn interface{}, metadata string) error
- func (p OpenTelemetryPlugin) Unregister(name string) error
- func (p *OpenTelemetryPlugin) WithMeter(meter metric.Meter) *OpenTelemetryPlugin
- type Recorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenTelemetryPlugin ¶
type OpenTelemetryPlugin struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryPlugin ¶
func NewOpenTelemetryPlugin(tracer trace.Tracer, propagators propagation.TextMapPropagator) *OpenTelemetryPlugin
func (OpenTelemetryPlugin) HandleConnAccept ¶
func (OpenTelemetryPlugin) PostWriteResponse ¶
func (OpenTelemetryPlugin) PreHandleRequest ¶
func (OpenTelemetryPlugin) Register ¶
func (p OpenTelemetryPlugin) Register(name string, rcvr interface{}, metadata string) error
func (OpenTelemetryPlugin) RegisterFunction ¶
func (p OpenTelemetryPlugin) RegisterFunction(serviceName, fname string, fn interface{}, metadata string) error
func (OpenTelemetryPlugin) Unregister ¶
func (p OpenTelemetryPlugin) Unregister(name string) error
func (*OpenTelemetryPlugin) WithMeter ¶
func (p *OpenTelemetryPlugin) WithMeter(meter metric.Meter) *OpenTelemetryPlugin
Click to show internal directories.
Click to hide internal directories.