apmsampling

package
v0.51.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL