version

package
v0.113.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package version contains the operator's version, as well as versions of underlying components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoInstrumentationApacheHttpd

func AutoInstrumentationApacheHttpd() string

func AutoInstrumentationDotNet

func AutoInstrumentationDotNet() string

func AutoInstrumentationGo

func AutoInstrumentationGo() string

func AutoInstrumentationJava

func AutoInstrumentationJava() string

func AutoInstrumentationNginx

func AutoInstrumentationNginx() string

func AutoInstrumentationNodeJS

func AutoInstrumentationNodeJS() string

func AutoInstrumentationPython

func AutoInstrumentationPython() string

func OpenTelemetryCollector

func OpenTelemetryCollector() string

OpenTelemetryCollector returns the default OpenTelemetryCollector to use when no versions are specified via CLI or configuration.

func OperatorOpAMPBridge

func OperatorOpAMPBridge() string

OperatorOpAMPBridge returns the default OperatorOpAMPBridge to use when no versions are specified via CLI or configuration.

func TargetAllocator

func TargetAllocator() string

TargetAllocator returns the default TargetAllocator to use when no versions are specified via CLI or configuration.

Types

type Version

type Version struct {
	Operator                       string `json:"opentelemetry-operator"`
	BuildDate                      string `json:"build-date"`
	OpenTelemetryCollector         string `json:"opentelemetry-collector-version"`
	Go                             string `json:"go-version"`
	TargetAllocator                string `json:"target-allocator-version"`
	OperatorOpAMPBridge            string `json:"operator-opamp-bridge"`
	AutoInstrumentationJava        string `json:"auto-instrumentation-java"`
	AutoInstrumentationNodeJS      string `json:"auto-instrumentation-nodejs"`
	AutoInstrumentationPython      string `json:"auto-instrumentation-python"`
	AutoInstrumentationDotNet      string `json:"auto-instrumentation-dotnet"`
	AutoInstrumentationGo          string `json:"auto-instrumentation-go"`
	AutoInstrumentationApacheHttpd string `json:"auto-instrumentation-apache-httpd"`
	AutoInstrumentationNginx       string `json:"auto-instrumentation-nginx"`
}

Version holds this Operator's version as well as the version of some of the components it uses.

func Get

func Get() Version

Get returns the Version object with the relevant information.

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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