Skip to content

opencensus-integrations/mongodb-apm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mongodb-apm

MongoDB APM integrations

  • Experimenting with APM integrations for MongoDB

Assumptions

  • You have a MongoDB instance running on localhost:27017 with a DB called media-searches and some content with a key called key inside a collection youtube-searches

Installing it

mvn install

Running it

  • With your GCP account that has Stackdriver Tracing and Monitoring enabled, get the credentials into a .json file and then run the CLI like this
GOOGLE_APPLICATION_CREDENTIALS=credentials.json mvn exec:java -Dexec.mainClass=io.opencensus.apm.Inspector

and after that, go to Stackdriver Monitoring to see some metrics but also they'll be posted on the CLI as you type

Releases

No releases published

Packages

No packages published

Languages