package
1.1.94
Repository: https://github.com/axway/agent-sdk.git
Documentation: pkg.go.dev

# Functions

DefaultConfig - returns a default sampling config where all transactions are sent.
FilterEvents - returns an array of events that are part of the sample.
GetGlobalSampling -.
GetGlobalSamplingPercentage -.
SetupSampling - set up the global sampling for use by traceability.
ShouldSampleTransaction - receives the transaction details and returns true to sample it false to not.

# Constants

SampleKey - the key used in the metadata when a transaction qualifies for sampling and should be sent to Observer defaultSamplingRate - the default sampling rate in percentage.

# Variables

Config errors.
Config errors.

# Structs

Sampling - configures the sampling of events the agent sends to Amplify.
TransactionDetails - details about the transaction that are used for sampling.