Skip to content

soulseekeer24/mongo-tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")
   

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages