Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var MakeFactoryMap = component.MakeExporterFactoryMap //nolint:staticcheck
MakeFactoryMap takes a list of exporter factories and returns a map with factory type as keys. It returns a non-nil error when more than one factories have the same type.
var NewFactory = component.NewExporterFactory //nolint:staticcheck
NewFactory returns a Factory.
var WithLogs = component.WithLogsExporter //nolint:staticcheck
WithLogs overrides the default "error not supported" implementation for CreateLogsExporter and the default "undefined" stability level.
var WithMetrics = component.WithMetricsExporter //nolint:staticcheck
WithMetrics overrides the default "error not supported" implementation for CreateMetricsExporter and the default "undefined" stability level.
var WithTraces = component.WithTracesExporter //nolint:staticcheck
WithTraces overrides the default "error not supported" implementation for CreateTracesExporter and the default "undefined" stability level.
Functions ¶
This section is empty.
Types ¶
type CreateLogsFunc ¶
type CreateLogsFunc = component.CreateLogsExporterFunc //nolint:staticcheck
CreateLogsFunc is the equivalent of Factory.CreateLogs.
type CreateMetricsFunc ¶
type CreateMetricsFunc = component.CreateMetricsExporterFunc //nolint:staticcheck
CreateMetricsFunc is the equivalent of Factory.CreateMetrics.
type CreateSettings ¶
type CreateSettings = component.ExporterCreateSettings //nolint:staticcheck
CreateSettings configures exporter creators.
type CreateTracesFunc ¶
type CreateTracesFunc = component.CreateTracesExporterFunc //nolint:staticcheck
CreateTracesFunc is the equivalent of Factory.CreateTraces.
type Factory ¶
type Factory = component.ExporterFactory //nolint:staticcheck
Factory is factory interface for exporters.
This interface cannot be directly implemented. Implementations must use the NewFactory to implement it.
type FactoryOption ¶
type FactoryOption = component.ExporterFactoryOption //nolint:staticcheck
FactoryOption apply changes to Factory.
type Logs ¶
type Logs = component.LogsExporter //nolint:staticcheck
Logs is an exporter that can consume logs.
type Metrics ¶
type Metrics = component.MetricsExporter //nolint:staticcheck
Metrics is an exporter that can consume metrics.
type Traces ¶
type Traces = component.TracesExporter //nolint:staticcheck
Traces is an exporter that can consume traces.
Directories
¶
Path | Synopsis |
---|---|
Package exporterhelper provides helper functions for exporters.
|
Package exporterhelper provides helper functions for exporters. |
loggingexporter
module
|
|
otlpexporter
module
|
|
otlphttpexporter
module
|