Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix span processor exporting unsampled spans (#871)
Currently span processors will send span data to exporters even if the sampled flag is false. This patch fixes this by explicitly checking the sampled state in both the batch and simple span processors.
- Loading branch information
Showing
3 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# Dashmap 5.3.4 requires 1.59 | ||
# Dashmap >= 5.3.4 requires 1.59 | ||
latest_version=$(cargo search --limit 1 dashmap | head -1 | cut -d'"' -f2) && | ||
cargo update -p dashmap:$latest_version --precise 5.1.0 && | ||
# We have time 0.1 and 0.3 | ||
latest_version=$(cargo search --limit 1 time | head -1 | cut -d'"' -f2) && | ||
cargo update -p time:$latest_version --precise 0.3.9 | ||
cargo update -p time:$latest_version --precise 0.3.9 && | ||
# async-global-executor >= 2.3.0 requires 1.59 | ||
latest_version=$(cargo search --limit 1 async-global-executor | head -1 | cut -d'"' -f2) && | ||
cargo update -p async-global-executor:$latest_version --precise 2.2.0 |