Documentation ¶
Index ¶
Constants ¶
View Source
const LibraryName = "otel-launcher-go/runtime"
LibraryName is the value of instrumentation.Library.Name.
Variables ¶
View Source
var ( ErrUnmatchedBuiltin = fmt.Errorf("builtin unmatched") ErrOvermatchedBuiltin = fmt.Errorf("builtin overmatched") )
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option supports configuring optional settings for runtime 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.