Documentation
¶
Overview ¶
Package otlp provides the client "otlp" implementation, which configures the OpenTelemetry SDK with an OTLP/HTTP trace exporter.
Index ¶
- type OtlpClientImpl
- func (c *OtlpClientImpl) GetMeterProvider() otelmetric.MeterProvider
- func (c *OtlpClientImpl) GetTracerProvider() trace.TracerProvider
- func (c *OtlpClientImpl) IsDefaultClient() bool
- func (c *OtlpClientImpl) IsDefaultMetricsBackend() bool
- func (c *OtlpClientImpl) Start() error
- func (c *OtlpClientImpl) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OtlpClientImpl ¶
type OtlpClientImpl struct {
cfg.BaseClient
// contains filtered or unexported fields
}
OtlpClientImpl is the runtime representation of a client "otlp" block.
func (*OtlpClientImpl) GetMeterProvider ¶ added in v0.24.0
func (c *OtlpClientImpl) GetMeterProvider() otelmetric.MeterProvider
func (*OtlpClientImpl) GetTracerProvider ¶
func (c *OtlpClientImpl) GetTracerProvider() trace.TracerProvider
func (*OtlpClientImpl) IsDefaultClient ¶
func (c *OtlpClientImpl) IsDefaultClient() bool
func (*OtlpClientImpl) IsDefaultMetricsBackend ¶ added in v0.24.0
func (c *OtlpClientImpl) IsDefaultMetricsBackend() bool
func (*OtlpClientImpl) Start ¶
func (c *OtlpClientImpl) Start() error
func (*OtlpClientImpl) Stop ¶
func (c *OtlpClientImpl) Stop() error
Click to show internal directories.
Click to hide internal directories.