Can anyone refer me any updated document or approa...
# general
h
Can anyone refer me any updated document or approach to collect logs/metrics from mongodb to SigNoz. I am following multiple blogs/official documentation but somewhere something is missing i believe. I have mongoDB running as a service on ec2 instance and SigNoz is running on EKS Cluster, now i want to see the logs and related data to mongoDB in SigNoz.
v
To integrate mongoDB metrics you can add mongoDB receiver to otel collector: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/mongodbreceiver/README.md
For logs @nitya-signoz can help you out
n
Configure you mongodb to output logs to a file https://www.mongodb.com/docs/manual/reference/log-messages/ . Run otel collector to collect logs from the log file and push them to your eks cluster https://signoz.io/docs/userguide/collect_logs_from_file/
h
Let me give it a try.