Documentation ¶
Index ¶
- type OpenTelemetryPlugin
- func (p *OpenTelemetryPlugin) PostCall(ctx context.Context, servicePath, serviceMethod string, args interface{}, ...) error
- func (p *OpenTelemetryPlugin) PreCall(ctx context.Context, servicePath, serviceMethod string, args interface{}) 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) PreCall ¶
func (p *OpenTelemetryPlugin) PreCall(ctx context.Context, servicePath, serviceMethod string, args interface{}) error
func (*OpenTelemetryPlugin) WithMeter ¶
func (p *OpenTelemetryPlugin) WithMeter(meter metric.Meter) *OpenTelemetryPlugin
Click to show internal directories.
Click to hide internal directories.