Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enabled bool
Endpoint string
Protocol string
Insecure bool
Timeout time.Duration
Headers map[string]string
Attributes map[string]string
BatchSize int
ExportInterval time.Duration
}
Config mirrors the public OTELConfig but for internal use
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider manages the OpenTelemetry log provider.
func (*Provider) LoggerProvider ¶
func (p *Provider) LoggerProvider() *sdklog.LoggerProvider
LoggerProvider returns the underlying sdklog.LoggerProvider
Click to show internal directories.
Click to hide internal directories.