最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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!

发布评论

评论列表(0)

  1. 暂无评论