io.thundra.agent.core.sample.Sampler, which is the interface where data (such as trace, metric, log, or other data, depending on what your sampler is designed to use) that makes sampling decisions is located.
100, but it can be configured using the
500, data will be sampled with every
500Lambda invocations. Here is the configuration:
5minutes), but it can be configured using the
60,000, data will be sampled every
10minutes) within consecutive Lambda invocations. Here is the configuration:
io.thundra.agent.trace.TraceSupportclass, which samples traces (spans).
1000milliseconds). Here is the configuration:
setMetricSamplerstatic method of the
io.thundra.agent.metric.MetricSupportclass, which is used for sampling metrics (stats).
5minutes, whichever comes first. Default invocation count and time frequencies can be configured with the
thundra_agent_sampler_timeAware_timeFreqenvironment variables. You can also set your custom sampler over MetricSampler, as described above.
setLogSamplerstatic method of the
io.thundra.agent.log.LogSupportclass, which is used for sampling logs.