Documentation ¶
Index ¶
- type LogOptions
- type MetricOptions
- type Options
- type Telemetry
- func (telemetry *Telemetry) Logger(name string, opts ...log.Option) *log.Logger
- func (telemetry *Telemetry) Meter(name string, opts ...metric.MeterOption) metric.Meter
- func (telemetry *Telemetry) Shutdown(ctx context.Context) error
- func (telemetry *Telemetry) Start() error
- func (telemetry *Telemetry) Tracer(name string, opts ...trace.TracerOption) trace.Tracer
- type TraceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogOptions ¶
type MetricOptions ¶
type MetricOptions struct {
Stdout bool
}
type Options ¶
type Options struct { Log LogOptions Trace TraceOptions Metric MetricOptions }
type Telemetry ¶
type Telemetry struct {
// contains filtered or unexported fields
}
type TraceOptions ¶
type TraceOptions struct {
Stdout bool
}
Click to show internal directories.
Click to hide internal directories.