3 releases
0.1.2 | Aug 16, 2023 |
---|---|
0.1.1 | Aug 16, 2023 |
0.1.0 | Aug 16, 2023 |
#2430 in Database interfaces
30 downloads per month
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
~26–38MB
~696K SLoC