Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenTelemetryCounter ¶
type OpenTelemetryCounter struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryCounter ¶
func NewOpenTelemetryCounter(ctx context.Context, counter metric.Int64Counter) *OpenTelemetryCounter
func (*OpenTelemetryCounter) IncrementBy ¶
func (nm *OpenTelemetryCounter) IncrementBy(num uint64)
type OpenTelemetryMeter ¶
type OpenTelemetryMeter struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryMeter ¶
func NewOpenTelemetryMeter(provider metric.MeterProvider) *OpenTelemetryMeter
func (*OpenTelemetryMeter) Counter ¶
func (meter *OpenTelemetryMeter) Counter(name string, tags map[string]string) (gocb.Counter, error)
func (*OpenTelemetryMeter) ValueRecorder ¶
func (meter *OpenTelemetryMeter) ValueRecorder(name string, tags map[string]string) (gocb.ValueRecorder, error)
type OpenTelemetryMeterValueRecorder ¶
type OpenTelemetryMeterValueRecorder struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryValueRecorder ¶
func NewOpenTelemetryValueRecorder(ctx context.Context, valueRecorder metric.Int64ValueRecorder) *OpenTelemetryMeterValueRecorder
func (*OpenTelemetryMeterValueRecorder) RecordValue ¶
func (nm *OpenTelemetryMeterValueRecorder) RecordValue(val uint64)
type OpenTelemetryRequestSpan ¶
type OpenTelemetryRequestSpan struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryRequestSpan ¶
func NewOpenTelemetryRequestSpan(ctx context.Context, span trace.Span) *OpenTelemetryRequestSpan
func (*OpenTelemetryRequestSpan) AddEvent ¶
func (span *OpenTelemetryRequestSpan) AddEvent(key string, timestamp time.Time)
func (*OpenTelemetryRequestSpan) Context ¶
func (span *OpenTelemetryRequestSpan) Context() gocb.RequestSpanContext
func (*OpenTelemetryRequestSpan) End ¶
func (span *OpenTelemetryRequestSpan) End()
func (*OpenTelemetryRequestSpan) SetAttribute ¶
func (span *OpenTelemetryRequestSpan) SetAttribute(key string, value interface{})
type OpenTelemetryRequestTracer ¶
type OpenTelemetryRequestTracer struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryRequestTracer ¶
func NewOpenTelemetryRequestTracer(provider trace.TracerProvider) *OpenTelemetryRequestTracer
func (*OpenTelemetryRequestTracer) RequestSpan ¶
func (tracer *OpenTelemetryRequestTracer) RequestSpan(parentContext gocb.RequestSpanContext, operationName string) gocb.RequestSpan
Click to show internal directories.
Click to hide internal directories.