3 releases

0.1.2 Aug 16, 2023
0.1.1 Aug 16, 2023
0.1.0 Aug 16, 2023

#1613 in Database interfaces

Download history 4/week @ 2024-01-15 2/week @ 2024-02-12 17/week @ 2024-02-19 25/week @ 2024-02-26 5/week @ 2024-03-04 15/week @ 2024-03-11 51/week @ 2024-03-25 93/week @ 2024-04-01 6/week @ 2024-04-08 15/week @ 2024-04-15

165 downloads per month

MIT license

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

~27–39MB
~772K SLoC