trace

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateAdjustedCount

func CalculateAdjustedCount(tracestate string) float64

CalculateAdjustedCount calculates the adjusted count which represents the number of spans in the population that are represented by the individually sampled span. If the span is not-sampled OR if a non- probability sampler is used then adjusted count defaults to 1. https://github.com/open-telemetry/oteps/blob/main/text/trace/0235-sampling-threshold-in-trace-state.md

Types

This section is empty.

Jump to

Keyboard shortcuts

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