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
- type StaticConfigResourceDetectorConfig
- func (*StaticConfigResourceDetectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StaticConfigResourceDetectorConfig) GetAttributes() map[string]string
- func (*StaticConfigResourceDetectorConfig) ProtoMessage()
- func (x *StaticConfigResourceDetectorConfig) ProtoReflect() protoreflect.Message
- func (x *StaticConfigResourceDetectorConfig) Reset()
- func (x *StaticConfigResourceDetectorConfig) String() string
- func (m *StaticConfigResourceDetectorConfig) Validate() error
- func (m *StaticConfigResourceDetectorConfig) ValidateAll() error
- type StaticConfigResourceDetectorConfigMultiError
- type StaticConfigResourceDetectorConfigValidationError
- func (e StaticConfigResourceDetectorConfigValidationError) Cause() error
- func (e StaticConfigResourceDetectorConfigValidationError) Error() string
- func (e StaticConfigResourceDetectorConfigValidationError) ErrorName() string
- func (e StaticConfigResourceDetectorConfigValidationError) Field() string
- func (e StaticConfigResourceDetectorConfigValidationError) Key() bool
- func (e StaticConfigResourceDetectorConfigValidationError) 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
var File_envoy_extensions_tracers_opentelemetry_resource_detectors_v3_static_config_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.
type StaticConfigResourceDetectorConfig ¶
type StaticConfigResourceDetectorConfig struct { // Custom Resource attributes to be included. Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the Static Resource detector extension. The resource detector uses static config for resource attribute, as per the OpenTelemetry specification.
[#extension: envoy.tracers.opentelemetry.resource_detectors.static_config]
func (*StaticConfigResourceDetectorConfig) Descriptor
deprecated
func (*StaticConfigResourceDetectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use StaticConfigResourceDetectorConfig.ProtoReflect.Descriptor instead.
func (*StaticConfigResourceDetectorConfig) GetAttributes ¶
func (x *StaticConfigResourceDetectorConfig) GetAttributes() map[string]string
func (*StaticConfigResourceDetectorConfig) ProtoMessage ¶
func (*StaticConfigResourceDetectorConfig) ProtoMessage()
func (*StaticConfigResourceDetectorConfig) ProtoReflect ¶
func (x *StaticConfigResourceDetectorConfig) ProtoReflect() protoreflect.Message
func (*StaticConfigResourceDetectorConfig) Reset ¶
func (x *StaticConfigResourceDetectorConfig) Reset()
func (*StaticConfigResourceDetectorConfig) String ¶
func (x *StaticConfigResourceDetectorConfig) String() string
func (*StaticConfigResourceDetectorConfig) Validate ¶
func (m *StaticConfigResourceDetectorConfig) Validate() error
Validate checks the field values on StaticConfigResourceDetectorConfig 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 (*StaticConfigResourceDetectorConfig) ValidateAll ¶
func (m *StaticConfigResourceDetectorConfig) ValidateAll() error
ValidateAll checks the field values on StaticConfigResourceDetectorConfig 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 StaticConfigResourceDetectorConfigMultiError, or nil if none found.
type StaticConfigResourceDetectorConfigMultiError ¶
type StaticConfigResourceDetectorConfigMultiError []error
StaticConfigResourceDetectorConfigMultiError is an error wrapping multiple validation errors returned by StaticConfigResourceDetectorConfig.ValidateAll() if the designated constraints aren't met.
func (StaticConfigResourceDetectorConfigMultiError) AllErrors ¶
func (m StaticConfigResourceDetectorConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StaticConfigResourceDetectorConfigMultiError) Error ¶
func (m StaticConfigResourceDetectorConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StaticConfigResourceDetectorConfigValidationError ¶
type StaticConfigResourceDetectorConfigValidationError struct {
// contains filtered or unexported fields
}
StaticConfigResourceDetectorConfigValidationError is the validation error returned by StaticConfigResourceDetectorConfig.Validate if the designated constraints aren't met.
func (StaticConfigResourceDetectorConfigValidationError) Cause ¶
func (e StaticConfigResourceDetectorConfigValidationError) Cause() error
Cause function returns cause value.
func (StaticConfigResourceDetectorConfigValidationError) Error ¶
func (e StaticConfigResourceDetectorConfigValidationError) Error() string
Error satisfies the builtin error interface
func (StaticConfigResourceDetectorConfigValidationError) ErrorName ¶
func (e StaticConfigResourceDetectorConfigValidationError) ErrorName() string
ErrorName returns error name.
func (StaticConfigResourceDetectorConfigValidationError) Field ¶
func (e StaticConfigResourceDetectorConfigValidationError) Field() string
Field function returns field value.
func (StaticConfigResourceDetectorConfigValidationError) Key ¶
func (e StaticConfigResourceDetectorConfigValidationError) Key() bool
Key function returns key value.
func (StaticConfigResourceDetectorConfigValidationError) Reason ¶
func (e StaticConfigResourceDetectorConfigValidationError) Reason() string
Reason function returns reason value.