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

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

#398 in Debugging

Download history 611/week @ 2024-07-22 526/week @ 2024-07-29 682/week @ 2024-08-05 829/week @ 2024-08-12 132/week @ 2024-08-19 21/week @ 2024-08-26 51/week @ 2024-09-02 92/week @ 2024-09-09 50/week @ 2024-09-16 140/week @ 2024-09-23 28/week @ 2024-09-30 28/week @ 2024-10-07 121/week @ 2024-10-14 84/week @ 2024-10-21 60/week @ 2024-10-28 40/week @ 2024-11-04

306 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