Documentation ¶
Index ¶
- Variables
- type DynatraceResourceDetectorConfig
- func (*DynatraceResourceDetectorConfig) Descriptor() ([]byte, []int)deprecated
- func (*DynatraceResourceDetectorConfig) ProtoMessage()
- func (x *DynatraceResourceDetectorConfig) ProtoReflect() protoreflect.Message
- func (x *DynatraceResourceDetectorConfig) Reset()
- func (x *DynatraceResourceDetectorConfig) String() string
- func (m *DynatraceResourceDetectorConfig) Validate() error
- func (m *DynatraceResourceDetectorConfig) ValidateAll() error
- type DynatraceResourceDetectorConfigMultiError
- type DynatraceResourceDetectorConfigValidationError
- func (e DynatraceResourceDetectorConfigValidationError) Cause() error
- func (e DynatraceResourceDetectorConfigValidationError) Error() string
- func (e DynatraceResourceDetectorConfigValidationError) ErrorName() string
- func (e DynatraceResourceDetectorConfigValidationError) Field() string
- func (e DynatraceResourceDetectorConfigValidationError) Key() bool
- func (e DynatraceResourceDetectorConfigValidationError) Reason() string
- type EnvironmentResourceDetectorConfig
- func (*EnvironmentResourceDetectorConfig) Descriptor() ([]byte, []int)deprecated
- func (*EnvironmentResourceDetectorConfig) ProtoMessage()
- func (x *EnvironmentResourceDetectorConfig) ProtoReflect() protoreflect.Message
- func (x *EnvironmentResourceDetectorConfig) Reset()
- func (x *EnvironmentResourceDetectorConfig) String() string
- func (m *EnvironmentResourceDetectorConfig) Validate() error
- func (m *EnvironmentResourceDetectorConfig) ValidateAll() error
- type EnvironmentResourceDetectorConfigMultiError
- type EnvironmentResourceDetectorConfigValidationError
- func (e EnvironmentResourceDetectorConfigValidationError) Cause() error
- func (e EnvironmentResourceDetectorConfigValidationError) Error() string
- func (e EnvironmentResourceDetectorConfigValidationError) ErrorName() string
- func (e EnvironmentResourceDetectorConfigValidationError) Field() string
- func (e EnvironmentResourceDetectorConfigValidationError) Key() bool
- func (e EnvironmentResourceDetectorConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_tracers_opentelemetry_resource_detectors_v3_dynatrace_resource_detector_proto protoreflect.FileDescriptor
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 (x *DynatraceResourceDetectorConfig) ProtoReflect() protoreflect.Message
func (*DynatraceResourceDetectorConfig) Reset ¶
func (x *DynatraceResourceDetectorConfig) Reset()
func (*DynatraceResourceDetectorConfig) String ¶
func (x *DynatraceResourceDetectorConfig) String() 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 ¶
func (m DynatraceResourceDetectorConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DynatraceResourceDetectorConfigMultiError) Error ¶
func (m DynatraceResourceDetectorConfigMultiError) Error() string
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 ¶
func (e DynatraceResourceDetectorConfigValidationError) Cause() error
Cause function returns cause value.
func (DynatraceResourceDetectorConfigValidationError) Error ¶
func (e DynatraceResourceDetectorConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DynatraceResourceDetectorConfigValidationError) ErrorName ¶
func (e DynatraceResourceDetectorConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DynatraceResourceDetectorConfigValidationError) Field ¶
func (e DynatraceResourceDetectorConfigValidationError) Field() string
Field function returns field value.
func (DynatraceResourceDetectorConfigValidationError) Key ¶
func (e DynatraceResourceDetectorConfigValidationError) Key() bool
Key function returns key value.
func (DynatraceResourceDetectorConfigValidationError) Reason ¶
func (e DynatraceResourceDetectorConfigValidationError) Reason() string
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 (x *EnvironmentResourceDetectorConfig) ProtoReflect() protoreflect.Message
func (*EnvironmentResourceDetectorConfig) Reset ¶
func (x *EnvironmentResourceDetectorConfig) Reset()
func (*EnvironmentResourceDetectorConfig) String ¶
func (x *EnvironmentResourceDetectorConfig) String() string
func (*EnvironmentResourceDetectorConfig) Validate ¶
func (m *EnvironmentResourceDetectorConfig) Validate() error
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 ¶
func (m EnvironmentResourceDetectorConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnvironmentResourceDetectorConfigMultiError) Error ¶
func (m EnvironmentResourceDetectorConfigMultiError) Error() string
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 ¶
func (e EnvironmentResourceDetectorConfigValidationError) Cause() error
Cause function returns cause value.
func (EnvironmentResourceDetectorConfigValidationError) Error ¶
func (e EnvironmentResourceDetectorConfigValidationError) Error() string
Error satisfies the builtin error interface
func (EnvironmentResourceDetectorConfigValidationError) ErrorName ¶
func (e EnvironmentResourceDetectorConfigValidationError) ErrorName() string
ErrorName returns error name.
func (EnvironmentResourceDetectorConfigValidationError) Field ¶
func (e EnvironmentResourceDetectorConfigValidationError) Field() string
Field function returns field value.
func (EnvironmentResourceDetectorConfigValidationError) Key ¶
func (e EnvironmentResourceDetectorConfigValidationError) Key() bool
Key function returns key value.
func (EnvironmentResourceDetectorConfigValidationError) Reason ¶
func (e EnvironmentResourceDetectorConfigValidationError) Reason() string
Reason function returns reason value.