#open-telemetry #tracing #tail #sampling #spans #trace #extension

onesignal-tracing-tail-sample

Tail sampling support for tracing with OpenTelemetry

9 releases

0.2.2 Nov 22, 2023
0.2.1 Nov 14, 2023
0.2.0 Mar 22, 2023
0.1.1 May 20, 2022
0.0.3 Dec 9, 2021

#232 in Debugging

Download history 34/week @ 2023-12-22 166/week @ 2023-12-29 171/week @ 2024-01-05 22/week @ 2024-01-12 167/week @ 2024-01-19 606/week @ 2024-01-26 540/week @ 2024-02-02 492/week @ 2024-02-09 395/week @ 2024-02-16 649/week @ 2024-02-23 507/week @ 2024-03-01 413/week @ 2024-03-08 380/week @ 2024-03-15 304/week @ 2024-03-22 235/week @ 2024-03-29 313/week @ 2024-04-05

1,266 downloads per month

MIT license

78KB
1.5K SLoC

onesignal-tracing-tail-sampling

This is a fork of tracing-opentelemetry that exists to allow us to do in-memory tail sampling of data.


lib.rs:

Provide extensions to the tracing libraries to buffer complete traces and enable tail sampling.

Some functionality provided by tracing is reimplemented in terms of this package, such as the opentelemetry integration. The upstream integration forwards span data as they close rather than buffer, but this prevents sophisticated tail sampling.

Dependencies

~5.5MB
~98K SLoC