pymongo - Get MongoDB telemetry using Open Telemetry auto instrumentation for flask? - Stack Overflow

My company runs a Flask API connected to MongoDB on atlas. Currently, we have minimal logging and metri

My company runs a Flask API connected to MongoDB on atlas. Currently, we have minimal logging and metrics and rely solely on Altas to monitor DB usage. This month we realized the DB is being queried excessively but we don't know which API endpoints are to blame.

Hence, I want to implement a system using OTEL to monitor the MongoDB usage of my API and then analyze which endpints are querying too much data. I began looking into auto instrumentation. Is it possible to implement this with minimal overhead and changes to the API source code? Code examples would be very appreciated!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745140499a4613408.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信