MongoDB APM integrations
- Experimenting with APM integrations for MongoDB
- You have a MongoDB instance running on
localhost:27017
with a DB calledmedia-searches
and some content with a key calledkey
inside a collectionyoutube-searches
mvn install
- 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