meterexporters

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExporterFactory

func ExporterFactory(name, endpoint string, insecure bool, urlpath string, headers map[string]string, protocol string) (metric.Exporter, error)

ExporterFactory - Create meter exporter according to given params

func NewGCP added in v1.1.8

func NewGCP(headers map[string]string) (metric.Exporter, error)

NewGCP creates a new Google Cloud metric exporter with optional headers for credentials and project ID.

func NewOTLP

func NewOTLP(
	endpoint string,
	insecure bool,
	urlpath string,
	headers map[string]string,
	protocol string,
) (metric.Exporter, error)

NewOTLP - Creates new OTLP metric exporter based on protocol (HTTP or gRPC).

func NewOTLPGrpc added in v0.8.1

func NewOTLPGrpc(
	endpoint string,
	insecure bool,
	headers map[string]string,
) (metric.Exporter, error)

NewOTLPGrpc - Creates new OTLP metric exporter using GRPC protocol for metrics collection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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