otlexporters

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

Directories

Path Synopsis
Package exportermocks is a generated GoMock package.
Package exportermocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL