Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MeterProvider ¶
type MeterProvider struct { metric.MeterProvider // contains filtered or unexported fields }
MeterProvider holds a MeterProvider for metric generation and the configured exporters for reporting metrics from the CLI.
func NewMeterProvider ¶
NewMeterProvider configures a MeterProvider from the CLI context.
func (*MeterProvider) Report ¶
func (m *MeterProvider) Report(ctx context.Context)
Report exports metrics to the configured exporter. This should be done before the CLI exits.
Click to show internal directories.
Click to hide internal directories.