Documentation ¶
Index ¶
- Variables
- type AlwaysOnSamplerConfig
- func (*AlwaysOnSamplerConfig) Descriptor() ([]byte, []int)deprecated
- func (*AlwaysOnSamplerConfig) ProtoMessage()
- func (x *AlwaysOnSamplerConfig) ProtoReflect() protoreflect.Message
- func (x *AlwaysOnSamplerConfig) Reset()
- func (x *AlwaysOnSamplerConfig) String() string
- func (m *AlwaysOnSamplerConfig) Validate() error
- func (m *AlwaysOnSamplerConfig) ValidateAll() error
- type AlwaysOnSamplerConfigMultiError
- type AlwaysOnSamplerConfigValidationError
- func (e AlwaysOnSamplerConfigValidationError) Cause() error
- func (e AlwaysOnSamplerConfigValidationError) Error() string
- func (e AlwaysOnSamplerConfigValidationError) ErrorName() string
- func (e AlwaysOnSamplerConfigValidationError) Field() string
- func (e AlwaysOnSamplerConfigValidationError) Key() bool
- func (e AlwaysOnSamplerConfigValidationError) Reason() string
- type DynatraceSamplerConfig
- func (*DynatraceSamplerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DynatraceSamplerConfig) GetClusterId() int32
- func (x *DynatraceSamplerConfig) GetHttpService() *v3.HttpService
- func (x *DynatraceSamplerConfig) GetRootSpansPerMinute() uint32
- func (x *DynatraceSamplerConfig) GetTenant() string
- func (*DynatraceSamplerConfig) ProtoMessage()
- func (x *DynatraceSamplerConfig) ProtoReflect() protoreflect.Message
- func (x *DynatraceSamplerConfig) Reset()
- func (x *DynatraceSamplerConfig) String() string
- func (m *DynatraceSamplerConfig) Validate() error
- func (m *DynatraceSamplerConfig) ValidateAll() error
- type DynatraceSamplerConfigMultiError
- type DynatraceSamplerConfigValidationError
- func (e DynatraceSamplerConfigValidationError) Cause() error
- func (e DynatraceSamplerConfigValidationError) Error() string
- func (e DynatraceSamplerConfigValidationError) ErrorName() string
- func (e DynatraceSamplerConfigValidationError) Field() string
- func (e DynatraceSamplerConfigValidationError) Key() bool
- func (e DynatraceSamplerConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_tracers_opentelemetry_samplers_v3_always_on_sampler_proto protoreflect.FileDescriptor
var File_envoy_extensions_tracers_opentelemetry_samplers_v3_dynatrace_sampler_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AlwaysOnSamplerConfig ¶
type AlwaysOnSamplerConfig struct {
// contains filtered or unexported fields
}
func (*AlwaysOnSamplerConfig) Descriptor
deprecated
func (*AlwaysOnSamplerConfig) Descriptor() ([]byte, []int)
Deprecated: Use AlwaysOnSamplerConfig.ProtoReflect.Descriptor instead.
func (*AlwaysOnSamplerConfig) ProtoMessage ¶
func (*AlwaysOnSamplerConfig) ProtoMessage()
func (*AlwaysOnSamplerConfig) ProtoReflect ¶
func (x *AlwaysOnSamplerConfig) ProtoReflect() protoreflect.Message
func (*AlwaysOnSamplerConfig) Reset ¶
func (x *AlwaysOnSamplerConfig) Reset()
func (*AlwaysOnSamplerConfig) String ¶
func (x *AlwaysOnSamplerConfig) String() string
func (*AlwaysOnSamplerConfig) Validate ¶
func (m *AlwaysOnSamplerConfig) Validate() error
Validate checks the field values on AlwaysOnSamplerConfig 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 (*AlwaysOnSamplerConfig) ValidateAll ¶
func (m *AlwaysOnSamplerConfig) ValidateAll() error
ValidateAll checks the field values on AlwaysOnSamplerConfig 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 AlwaysOnSamplerConfigMultiError, or nil if none found.
type AlwaysOnSamplerConfigMultiError ¶
type AlwaysOnSamplerConfigMultiError []error
AlwaysOnSamplerConfigMultiError is an error wrapping multiple validation errors returned by AlwaysOnSamplerConfig.ValidateAll() if the designated constraints aren't met.
func (AlwaysOnSamplerConfigMultiError) AllErrors ¶
func (m AlwaysOnSamplerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AlwaysOnSamplerConfigMultiError) Error ¶
func (m AlwaysOnSamplerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AlwaysOnSamplerConfigValidationError ¶
type AlwaysOnSamplerConfigValidationError struct {
// contains filtered or unexported fields
}
AlwaysOnSamplerConfigValidationError is the validation error returned by AlwaysOnSamplerConfig.Validate if the designated constraints aren't met.
func (AlwaysOnSamplerConfigValidationError) Cause ¶
func (e AlwaysOnSamplerConfigValidationError) Cause() error
Cause function returns cause value.
func (AlwaysOnSamplerConfigValidationError) Error ¶
func (e AlwaysOnSamplerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AlwaysOnSamplerConfigValidationError) ErrorName ¶
func (e AlwaysOnSamplerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AlwaysOnSamplerConfigValidationError) Field ¶
func (e AlwaysOnSamplerConfigValidationError) Field() string
Field function returns field value.
func (AlwaysOnSamplerConfigValidationError) Key ¶
func (e AlwaysOnSamplerConfigValidationError) Key() bool
Key function returns key value.
func (AlwaysOnSamplerConfigValidationError) Reason ¶
func (e AlwaysOnSamplerConfigValidationError) Reason() string
Reason function returns reason value.
type DynatraceSamplerConfig ¶
type DynatraceSamplerConfig struct { // The Dynatrace tenant. // // The value can be obtained from the Envoy deployment page in Dynatrace. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // The id of the Dynatrace cluster id. // // The value can be obtained from the Envoy deployment page in Dynatrace. ClusterId int32 `protobuf:"varint,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute). For example: // // .. code-block:: yaml // // http_service: // http_uri: // cluster: dynatrace // uri: <tenant>.dev.dynatracelabs.com/api/v2/samplingConfiguration // timeout: 10s // request_headers_to_add: // - header: // key : "authorization" // value: "Api-Token dt..." HttpService *v3.HttpService `protobuf:"bytes,3,opt,name=http_service,json=httpService,proto3" json:"http_service,omitempty"` // Default number of root spans per minute, used when the value can't be obtained from the Dynatrace API. // // A default value of “1000“ is used when: // // - “root_spans_per_minute“ is unset // - “root_spans_per_minute“ is set to 0 RootSpansPerMinute uint32 `protobuf:"varint,4,opt,name=root_spans_per_minute,json=rootSpansPerMinute,proto3" json:"root_spans_per_minute,omitempty"` // contains filtered or unexported fields }
Configuration for the Dynatrace Sampler extension. [#extension: envoy.tracers.opentelemetry.samplers.dynatrace]
func (*DynatraceSamplerConfig) Descriptor
deprecated
func (*DynatraceSamplerConfig) Descriptor() ([]byte, []int)
Deprecated: Use DynatraceSamplerConfig.ProtoReflect.Descriptor instead.
func (*DynatraceSamplerConfig) GetClusterId ¶
func (x *DynatraceSamplerConfig) GetClusterId() int32
func (*DynatraceSamplerConfig) GetHttpService ¶
func (x *DynatraceSamplerConfig) GetHttpService() *v3.HttpService
func (*DynatraceSamplerConfig) GetRootSpansPerMinute ¶
func (x *DynatraceSamplerConfig) GetRootSpansPerMinute() uint32
func (*DynatraceSamplerConfig) GetTenant ¶
func (x *DynatraceSamplerConfig) GetTenant() string
func (*DynatraceSamplerConfig) ProtoMessage ¶
func (*DynatraceSamplerConfig) ProtoMessage()
func (*DynatraceSamplerConfig) ProtoReflect ¶
func (x *DynatraceSamplerConfig) ProtoReflect() protoreflect.Message
func (*DynatraceSamplerConfig) Reset ¶
func (x *DynatraceSamplerConfig) Reset()
func (*DynatraceSamplerConfig) String ¶
func (x *DynatraceSamplerConfig) String() string
func (*DynatraceSamplerConfig) Validate ¶
func (m *DynatraceSamplerConfig) Validate() error
Validate checks the field values on DynatraceSamplerConfig 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 (*DynatraceSamplerConfig) ValidateAll ¶
func (m *DynatraceSamplerConfig) ValidateAll() error
ValidateAll checks the field values on DynatraceSamplerConfig 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 DynatraceSamplerConfigMultiError, or nil if none found.
type DynatraceSamplerConfigMultiError ¶
type DynatraceSamplerConfigMultiError []error
DynatraceSamplerConfigMultiError is an error wrapping multiple validation errors returned by DynatraceSamplerConfig.ValidateAll() if the designated constraints aren't met.
func (DynatraceSamplerConfigMultiError) AllErrors ¶
func (m DynatraceSamplerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DynatraceSamplerConfigMultiError) Error ¶
func (m DynatraceSamplerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DynatraceSamplerConfigValidationError ¶
type DynatraceSamplerConfigValidationError struct {
// contains filtered or unexported fields
}
DynatraceSamplerConfigValidationError is the validation error returned by DynatraceSamplerConfig.Validate if the designated constraints aren't met.
func (DynatraceSamplerConfigValidationError) Cause ¶
func (e DynatraceSamplerConfigValidationError) Cause() error
Cause function returns cause value.
func (DynatraceSamplerConfigValidationError) Error ¶
func (e DynatraceSamplerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DynatraceSamplerConfigValidationError) ErrorName ¶
func (e DynatraceSamplerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DynatraceSamplerConfigValidationError) Field ¶
func (e DynatraceSamplerConfigValidationError) Field() string
Field function returns field value.
func (DynatraceSamplerConfigValidationError) Key ¶
func (e DynatraceSamplerConfigValidationError) Key() bool
Key function returns key value.
func (DynatraceSamplerConfigValidationError) Reason ¶
func (e DynatraceSamplerConfigValidationError) Reason() string
Reason function returns reason value.