resource_detectorsv3

package
v0.0.0-...-9c9dc66 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_tracers_opentelemetry_resource_detectors_v3_dynatrace_resource_detector_proto protoreflect.FileDescriptor
View Source
var File_envoy_extensions_tracers_opentelemetry_resource_detectors_v3_environment_resource_detector_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DynatraceResourceDetectorConfig

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

Configuration for the Dynatrace Resource Detector extension. The resource detector reads from the Dynatrace enrichment files and adds host/process related attributes to the OpenTelemetry resource.

See:

`Enrich ingested data with Dynatrace-specific dimensions <https://docs.dynatrace.com/docs/shortlink/enrichment-files>`_

[#extension: envoy.tracers.opentelemetry.resource_detectors.dynatrace]

func (*DynatraceResourceDetectorConfig) Descriptor deprecated

func (*DynatraceResourceDetectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use DynatraceResourceDetectorConfig.ProtoReflect.Descriptor instead.

func (*DynatraceResourceDetectorConfig) ProtoMessage

func (*DynatraceResourceDetectorConfig) ProtoMessage()

func (*DynatraceResourceDetectorConfig) ProtoReflect

func (*DynatraceResourceDetectorConfig) Reset

func (*DynatraceResourceDetectorConfig) String

func (*DynatraceResourceDetectorConfig) Validate

func (m *DynatraceResourceDetectorConfig) Validate() error

Validate checks the field values on DynatraceResourceDetectorConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DynatraceResourceDetectorConfig) ValidateAll

func (m *DynatraceResourceDetectorConfig) ValidateAll() error

ValidateAll checks the field values on DynatraceResourceDetectorConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DynatraceResourceDetectorConfigMultiError, or nil if none found.

type DynatraceResourceDetectorConfigMultiError

type DynatraceResourceDetectorConfigMultiError []error

DynatraceResourceDetectorConfigMultiError is an error wrapping multiple validation errors returned by DynatraceResourceDetectorConfig.ValidateAll() if the designated constraints aren't met.

func (DynatraceResourceDetectorConfigMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DynatraceResourceDetectorConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DynatraceResourceDetectorConfigValidationError

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

DynatraceResourceDetectorConfigValidationError is the validation error returned by DynatraceResourceDetectorConfig.Validate if the designated constraints aren't met.

func (DynatraceResourceDetectorConfigValidationError) Cause

Cause function returns cause value.

func (DynatraceResourceDetectorConfigValidationError) Error

Error satisfies the builtin error interface

func (DynatraceResourceDetectorConfigValidationError) ErrorName

ErrorName returns error name.

func (DynatraceResourceDetectorConfigValidationError) Field

Field function returns field value.

func (DynatraceResourceDetectorConfigValidationError) Key

Key function returns key value.

func (DynatraceResourceDetectorConfigValidationError) Reason

Reason function returns reason value.

type EnvironmentResourceDetectorConfig

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

Configuration for the Environment Resource detector extension. The resource detector reads from the “OTEL_RESOURCE_ATTRIBUTES“ environment variable, as per the OpenTelemetry specification.

See:

`OpenTelemetry specification <https://github.com/open-telemetry/opentelemetry-specification/blob/v1.24.0/specification/resource/sdk.md#detecting-resource-information-from-the-environment>`_

[#extension: envoy.tracers.opentelemetry.resource_detectors.environment]

func (*EnvironmentResourceDetectorConfig) Descriptor deprecated

func (*EnvironmentResourceDetectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use EnvironmentResourceDetectorConfig.ProtoReflect.Descriptor instead.

func (*EnvironmentResourceDetectorConfig) ProtoMessage

func (*EnvironmentResourceDetectorConfig) ProtoMessage()

func (*EnvironmentResourceDetectorConfig) ProtoReflect

func (*EnvironmentResourceDetectorConfig) Reset

func (*EnvironmentResourceDetectorConfig) String

func (*EnvironmentResourceDetectorConfig) Validate

Validate checks the field values on EnvironmentResourceDetectorConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EnvironmentResourceDetectorConfig) ValidateAll

func (m *EnvironmentResourceDetectorConfig) ValidateAll() error

ValidateAll checks the field values on EnvironmentResourceDetectorConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnvironmentResourceDetectorConfigMultiError, or nil if none found.

type EnvironmentResourceDetectorConfigMultiError

type EnvironmentResourceDetectorConfigMultiError []error

EnvironmentResourceDetectorConfigMultiError is an error wrapping multiple validation errors returned by EnvironmentResourceDetectorConfig.ValidateAll() if the designated constraints aren't met.

func (EnvironmentResourceDetectorConfigMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (EnvironmentResourceDetectorConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EnvironmentResourceDetectorConfigValidationError

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

EnvironmentResourceDetectorConfigValidationError is the validation error returned by EnvironmentResourceDetectorConfig.Validate if the designated constraints aren't met.

func (EnvironmentResourceDetectorConfigValidationError) Cause

Cause function returns cause value.

func (EnvironmentResourceDetectorConfigValidationError) Error

Error satisfies the builtin error interface

func (EnvironmentResourceDetectorConfigValidationError) ErrorName

ErrorName returns error name.

func (EnvironmentResourceDetectorConfigValidationError) Field

Field function returns field value.

func (EnvironmentResourceDetectorConfigValidationError) Key

Key function returns key value.

func (EnvironmentResourceDetectorConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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