3 releases
0.1.2 | Aug 16, 2023 |
---|---|
0.1.1 | Aug 16, 2023 |
0.1.0 | Aug 16, 2023 |
#28 in #mongodb
25KB
779 lines
MONGO TRACING
This library wrap the Rust MongoDB Driver's Collection object with Telemetry
Usage
// Instead of getting collection from database
database
.collection::<Document>("medicalRecordsHistories")
// import the Trait
use mongo_tracing::InstrumentedCollectionExt;
....
//And replace the "collection" method for "collection_instrumented
database
.collection_instrumented::<Document>("medicalRecordsHistories")
Dependencies
~28–40MB
~737K SLoC