Documentation ¶
Index ¶
- Variables
- func Meter() metric.Meter
- type Metrics
- func (m *Metrics) Aggregation(kind metric.InstrumentKind) metric.Aggregation
- func (m *Metrics) Export(ctx context.Context, rm *metricdata.ResourceMetrics) error
- func (Metrics) ForceFlush(context.Context) error
- func (Metrics) Shutdown(context.Context) error
- func (m *Metrics) Temporality(kind metric.InstrumentKind) metricdata.Temporality
- type Shutdown
- type Trace
Constants ¶
This section is empty.
Variables ¶
View Source
var Resource = resource.NewWithAttributes( semconv.SchemaURL, semconv.ServiceName("requiemdb"), )
Functions ¶
Types ¶
type Metrics ¶
type Metrics struct { Collector collector_metrics.MetricsServiceServer // contains filtered or unexported fields }
func (*Metrics) Aggregation ¶
func (m *Metrics) Aggregation(kind metric.InstrumentKind) metric.Aggregation
func (*Metrics) Export ¶
func (m *Metrics) Export(ctx context.Context, rm *metricdata.ResourceMetrics) error
func (Metrics) ForceFlush ¶
func (*Metrics) Temporality ¶
func (m *Metrics) Temporality(kind metric.InstrumentKind) metricdata.Temporality
type Shutdown ¶
func Setup ¶
func Setup(ctx context.Context, m collector_metrics.MetricsServiceServer, t collector_trace.TraceServiceServer) (Shutdown, error)
type Trace ¶
type Trace struct { Collector collector_trace.TraceServiceServer // contains filtered or unexported fields }
func (*Trace) ExportSpans ¶
func (Trace) ForceFlush ¶
Click to show internal directories.
Click to hide internal directories.