sampling

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// UsageGroups controls sampling for pre-configured usage groups.
	UsageGroups map[string]UsageGroupSampling `yaml:"usage_groups" json:"usage_groups"`
}

type Source added in v1.15.0

type Source struct {
	UsageGroup  string  `json:"usageGroup"`
	Probability float64 `json:"probability"`
}

type UsageGroupSampling

type UsageGroupSampling struct {
	Probability float64 `yaml:"probability" json:"probability"`
}

Jump to

Keyboard shortcuts

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