telemetrygateway

package
v1.3.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg *config.Config, opts ...Option) error

Types

type OTelConfigMutator

type OTelConfigMutator func(root map[string]any) error

OTelConfigMutator receives the root OTEL conf map and may mutate it.

type Option

type Option func(*runOptions)

Option configures how Run builds both the Collector and the OTEL config.

func WithCollectorSettings

func WithCollectorSettings(mut func(*otelcol.CollectorSettings)) Option

WithCollectorSettings lets callers tweak CollectorSettings before NewCollector.

func WithOTelConfigMutator

func WithOTelConfigMutator(m OTelConfigMutator) Option

WithOTelConfigMutator registers a raw mutator (maximum flexibility).

func WithOTelYAMLOverlay

func WithOTelYAMLOverlay(snippet string) Option

WithOTelYAMLOverlay merges a YAML snippet into the generated config (deep-merge).

func WithSkipSettingGRPCLogger

func WithSkipSettingGRPCLogger(skip bool) Option

WithSkipSettingGRPCLogger avoids setting the grpc logger

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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