Documentation ¶
Overview ¶
Package otelcollector implements the Open Telemetry exporter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OtelCollector ¶
type OtelCollector struct {
// contains filtered or unexported fields
}
OtelCollector implements the traces exporter.
func Exporter ¶
func Exporter(ctx context.Context, cfg config.OTLPExporter) (*OtelCollector, error)
Exporter creates an Open Telemetry exporter instance.
func ExporterWithOptions ¶
func ExporterWithOptions(ctx context.Context, cfg config.OTLPExporter, options []interface{}) (*OtelCollector, error)
func (*OtelCollector) MetricDefaultReporting ¶
func (c *OtelCollector) MetricDefaultReporting() bool
func (*OtelCollector) MetricReader ¶
func (c *OtelCollector) MetricReader(reportingPeriod time.Duration) sdkmetric.Reader
func (*OtelCollector) SpanExporter ¶
func (c *OtelCollector) SpanExporter() sdktrace.SpanExporter
SpanExporter implements the interface to export traces.
func (*OtelCollector) TraceDefaultReporting ¶
func (c *OtelCollector) TraceDefaultReporting() bool
Click to show internal directories.
Click to hide internal directories.