Enumeration values used by ActivityListener to indicate the amount of data to collect for the related Activity. Requesting more data causes a greater performance overhead.
public enum class ActivitySamplingResult
public enum ActivitySamplingResult
type ActivitySamplingResult =
Public Enum ActivitySamplingResult
The activity object does not need to be created.
PropagationData 1The activity object needs to be created. It will have a Name, a Source, an Id and Baggage. Other properties are unnecessary and will be ignored by this listener.
AllData 2The activity object should be populated with all the propagation information and also all other properties such as Links, Tags, and Events. Using this value causes IsAllDataRequested to return true
.
The activity object should be populated the same as the AllData case. Additionally, Activity.Recorded is set to true
. For activities using the W3C trace ids, this sets a flag bit in the ID that will be propagated downstream requesting that the trace is recorded everywhere.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4