config

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package config contains the operator's runtime configuration.

Package config contains the operator's runtime configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config holds the static configuration for this operator.

func New

func New(opts ...Option) Config

New constructs a new configuration based on the given options.

func (*Config) AutoInstrumentationApacheHttpdImage

func (c *Config) AutoInstrumentationApacheHttpdImage() string

AutoInstrumentationApacheHttpdImage returns OpenTelemetry ApacheHttpd auto-instrumentation container image.

func (*Config) AutoInstrumentationDotNetImage

func (c *Config) AutoInstrumentationDotNetImage() string

AutoInstrumentationDotNetImage returns OpenTelemetry DotNet auto-instrumentation container image.

func (*Config) AutoInstrumentationGoImage

func (c *Config) AutoInstrumentationGoImage() string

AutoInstrumentationGoImage returns OpenTelemetry Go auto-instrumentation container image.

func (*Config) AutoInstrumentationJavaImage

func (c *Config) AutoInstrumentationJavaImage() string

AutoInstrumentationJavaImage returns OpenTelemetry Java auto-instrumentation container image.

func (*Config) AutoInstrumentationNginxImage added in v1.1.0

func (c *Config) AutoInstrumentationNginxImage() string

AutoInstrumentationNginxImage returns OpenTelemetry Nginx auto-instrumentation container image.

func (*Config) AutoInstrumentationNodeJSImage

func (c *Config) AutoInstrumentationNodeJSImage() string

AutoInstrumentationNodeJSImage returns OpenTelemetry NodeJS auto-instrumentation container image.

func (*Config) AutoInstrumentationPythonImage

func (c *Config) AutoInstrumentationPythonImage() string

AutoInstrumentationPythonImage returns OpenTelemetry Python auto-instrumentation container image.

func (*Config) CollectorConfigMapEntry

func (c *Config) CollectorConfigMapEntry() string

CollectorConfigMapEntry represents the configuration file name for the collector. Immutable.

func (*Config) CollectorImage

func (c *Config) CollectorImage() string

CollectorImage represents the flag to override the OpenTelemetry Collector container image.

func (*Config) DcgmExporterImage added in v1.3.0

func (c *Config) DcgmExporterImage() string

DcgmExporterImage returns Nvidia DCGM Exporter container image.

func (*Config) LabelsFilter

func (c *Config) LabelsFilter() []string

LabelsFilter Returns the filters converted to regex strings used to filter out unwanted labels from propagations.

func (*Config) NeuronMonitorImage added in v1.3.0

func (c *Config) NeuronMonitorImage() string

NeuronMonitorImage returns Neuron Monitor Exporter container image.

type Option

type Option func(c *options)

Option represents one specific configuration option.

func WithAutoInstrumentationApacheHttpdImage

func WithAutoInstrumentationApacheHttpdImage(s string) Option

func WithAutoInstrumentationDotNetImage

func WithAutoInstrumentationDotNetImage(s string) Option

func WithAutoInstrumentationGoImage

func WithAutoInstrumentationGoImage(s string) Option

func WithAutoInstrumentationJavaImage

func WithAutoInstrumentationJavaImage(s string) Option

func WithAutoInstrumentationNginxImage added in v1.1.0

func WithAutoInstrumentationNginxImage(s string) Option

func WithAutoInstrumentationNodeJSImage

func WithAutoInstrumentationNodeJSImage(s string) Option

func WithAutoInstrumentationPythonImage

func WithAutoInstrumentationPythonImage(s string) Option

func WithCollectorConfigMapEntry

func WithCollectorConfigMapEntry(s string) Option

func WithCollectorImage

func WithCollectorImage(s string) Option

func WithDcgmExporterImage added in v1.3.0

func WithDcgmExporterImage(s string) Option

func WithLabelFilters

func WithLabelFilters(labelFilters []string) Option

func WithLogger

func WithLogger(logger logr.Logger) Option

func WithNeuronMonitorImage added in v1.3.0

func WithNeuronMonitorImage(s string) Option

func WithVersion

func WithVersion(v version.Version) Option

Jump to

Keyboard shortcuts

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