Documentation
¶
Index ¶
- Variables
- type AlwaysOnSamplerConfig
- type AlwaysOnSamplerConfig_builder
- type DynatraceSamplerConfig
- func (x *DynatraceSamplerConfig) ClearHttpUri()
- func (x *DynatraceSamplerConfig) GetClusterId() int32
- func (x *DynatraceSamplerConfig) GetHttpUri() *v3.HttpUri
- func (x *DynatraceSamplerConfig) GetRootSpansPerMinute() uint32
- func (x *DynatraceSamplerConfig) GetTenant() string
- func (x *DynatraceSamplerConfig) GetToken() string
- func (x *DynatraceSamplerConfig) HasHttpUri() bool
- func (*DynatraceSamplerConfig) ProtoMessage()
- func (x *DynatraceSamplerConfig) ProtoReflect() protoreflect.Message
- func (x *DynatraceSamplerConfig) Reset()
- func (x *DynatraceSamplerConfig) SetClusterId(v int32)
- func (x *DynatraceSamplerConfig) SetHttpUri(v *v3.HttpUri)
- func (x *DynatraceSamplerConfig) SetRootSpansPerMinute(v uint32)
- func (x *DynatraceSamplerConfig) SetTenant(v string)
- func (x *DynatraceSamplerConfig) SetToken(v string)
- func (x *DynatraceSamplerConfig) String() string
- type DynatraceSamplerConfig_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_tracers_opentelemetry_samplers_v3_always_on_sampler_proto protoreflect.FileDescriptor
View Source
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) 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
type AlwaysOnSamplerConfig_builder ¶
type AlwaysOnSamplerConfig_builder struct {
// contains filtered or unexported fields
}
func (AlwaysOnSamplerConfig_builder) Build ¶
func (b0 AlwaysOnSamplerConfig_builder) Build() *AlwaysOnSamplerConfig
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 URI to fetch the sampler configuration (root spans per minute). For example: // // .. code-block:: yaml // // http_uri: // uri: <tenant>.dev.dynatracelabs.com/api/v2/otlp/v1/traces // cluster: dynatrace // timeout: 10s HttpUri *v3.HttpUri `protobuf:"bytes,3,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"` // The access token to fetch the sampling configuration from the Dynatrace API Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,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,5,opt,name=root_spans_per_minute,json=rootSpansPerMinute,proto3" json:"root_spans_per_minute,omitempty"` // contains filtered or unexported fields }
[#next-free-field: 6]
func (*DynatraceSamplerConfig) ClearHttpUri ¶
func (x *DynatraceSamplerConfig) ClearHttpUri()
func (*DynatraceSamplerConfig) GetClusterId ¶
func (x *DynatraceSamplerConfig) GetClusterId() int32
func (*DynatraceSamplerConfig) GetHttpUri ¶
func (x *DynatraceSamplerConfig) GetHttpUri() *v3.HttpUri
func (*DynatraceSamplerConfig) GetRootSpansPerMinute ¶
func (x *DynatraceSamplerConfig) GetRootSpansPerMinute() uint32
func (*DynatraceSamplerConfig) GetTenant ¶
func (x *DynatraceSamplerConfig) GetTenant() string
func (*DynatraceSamplerConfig) GetToken ¶
func (x *DynatraceSamplerConfig) GetToken() string
func (*DynatraceSamplerConfig) HasHttpUri ¶
func (x *DynatraceSamplerConfig) HasHttpUri() bool
func (*DynatraceSamplerConfig) ProtoMessage ¶
func (*DynatraceSamplerConfig) ProtoMessage()
func (*DynatraceSamplerConfig) ProtoReflect ¶
func (x *DynatraceSamplerConfig) ProtoReflect() protoreflect.Message
func (*DynatraceSamplerConfig) Reset ¶
func (x *DynatraceSamplerConfig) Reset()
func (*DynatraceSamplerConfig) SetClusterId ¶
func (x *DynatraceSamplerConfig) SetClusterId(v int32)
func (*DynatraceSamplerConfig) SetHttpUri ¶
func (x *DynatraceSamplerConfig) SetHttpUri(v *v3.HttpUri)
func (*DynatraceSamplerConfig) SetRootSpansPerMinute ¶
func (x *DynatraceSamplerConfig) SetRootSpansPerMinute(v uint32)
func (*DynatraceSamplerConfig) SetTenant ¶
func (x *DynatraceSamplerConfig) SetTenant(v string)
func (*DynatraceSamplerConfig) SetToken ¶
func (x *DynatraceSamplerConfig) SetToken(v string)
func (*DynatraceSamplerConfig) String ¶
func (x *DynatraceSamplerConfig) String() string
type DynatraceSamplerConfig_builder ¶
type DynatraceSamplerConfig_builder struct { // The Dynatrace tenant. // // The value can be obtained from the Envoy deployment page in Dynatrace. Tenant string // The id of the Dynatrace cluster id. // // The value can be obtained from the Envoy deployment page in Dynatrace. ClusterId int32 // The HTTP URI to fetch the sampler configuration (root spans per minute). For example: // // .. code-block:: yaml // // http_uri: // uri: <tenant>.dev.dynatracelabs.com/api/v2/otlp/v1/traces // cluster: dynatrace // timeout: 10s HttpUri *v3.HttpUri // The access token to fetch the sampling configuration from the Dynatrace API Token string // 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 // contains filtered or unexported fields }
func (DynatraceSamplerConfig_builder) Build ¶
func (b0 DynatraceSamplerConfig_builder) Build() *DynatraceSamplerConfig
Click to show internal directories.
Click to hide internal directories.