Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AttributeCPUTimeUser = []attribute.KeyValue{attribute.String("state", "user")} AttributeCPUTimeSystem = []attribute.KeyValue{attribute.String("state", "system")} )
Attribute sets.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option supports configuring optional settings for host metrics.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider sets the Metric implementation to use for reporting. If this option is not used, the global metric.MeterProvider will be used. `provider` must be non-nil.
Click to show internal directories.
Click to hide internal directories.