Documentation ¶
Overview ¶
Package apmsampling contains data types related to APM_SAMPLING config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvAndConfig ¶ added in v0.42.0
type EnvAndConfig struct { Env string `json:"env"` Config SamplerEnvConfig `json:"config"` }
EnvAndConfig breaks down configuration by environment
type SamplerConfig ¶ added in v0.42.0
type SamplerConfig struct { AllEnvs SamplerEnvConfig `json:"all_envs"` ByEnv []EnvAndConfig `json:"by_env"` }
SamplerConfig represents a sampling configuration
type SamplerEnvConfig ¶ added in v0.42.0
type SamplerEnvConfig struct { PrioritySamplerTargetTPS *float64 `json:"priority_sampler_target_TPS"` ErrorsSamplerTargetTPS *float64 `json:"errors_sampler_target_TPS"` RareSamplerEnabled *bool `json:"rare_sampler_enabled"` }
SamplerEnvConfig contains the configuration for all environments
Click to show internal directories.
Click to hide internal directories.