Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultCollectorCertPath is the default location to look for the Collector certificate
DefaultCollectorCertPath = "/etc/ssl/certs/cert.crt"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OtlCollectorExporter ¶
type OtlCollectorExporter struct { CollectorAddr string // contains filtered or unexported fields }
OtlCollectorExporter is the exporter for the OpenTelemetry Collector
func (*OtlCollectorExporter) InitExporter ¶
func (c *OtlCollectorExporter) InitExporter(opts ...otlpmetricgrpc.Option) error
InitExporter is the initialization method for the OpenTelemetry Collector exporter
func (*OtlCollectorExporter) StopExporter ¶
func (c *OtlCollectorExporter) StopExporter() error
StopExporter stops the activity of the Otl Collector's required services
type Otlexporter ¶
type Otlexporter interface { InitExporter(...otlpmetricgrpc.Option) error StopExporter() error }
Otlexporter is an interface for all OpenTelemetry exporters
Click to show internal directories.
Click to hide internal directories.