MongoDB的监控指标有哪些

49次阅读
没有评论

共计 1683 个字符,预计需要花费 5 分钟才能阅读完成。

自动写代码机器人,免费开通

MongoDB 的监控指标有哪些,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

MongoDB uptime 启动时长  

asserts.user 用户的断言数量  

asserts.warning 警告的断言数量  

connections.current 当前的连接数 大于 650

connections.available 可用的连接数  

connections.totalCreated 共创建了多少连接  

extra_info.heap_usage_bytes heap 内存的大小  

extra_info.page_faults 缺页的多少  

globalLock.currentQueue.total 当前队列的总长度  

globalLock.currentQueue.readers 当前队列中读的数量  

globalLock.currentQueue.writers 当前队列中写的数量  

globalLock.activeClients.total 活跃客户端的总数量  

globalLock.activeClients.readers 活跃客户端中读的数量  

globalLock.activeClients.writers 活跃客户端中写的数量  

network.bytesIn 网卡接收的数据量  

network.bytesOut 网卡发送的数据量  

opcounters.insert insert 操作数量  

opcounters.query query 操作数量  

opcounters.update update 操作数量  

opcounters.delete delete 操作数量  

opcounters.getmore getmore 的数量  

opcounters.command command 的数量  

opcountersRepl.insert 副本集环境 insert 操作数量  

opcountersRepl.query 副本集环境 query 操作数量  

opcountersRepl.update 副本集环境 update 操作数量  

opcountersRepl.delete 副本集环境 delete 操作数量  

opcountersRepl.getmore 副本集环境 getmore 的数量  

opcountersRepl.command 副本集环境 command 的数量  

wiredTiger.cache.maximum_bytes_configured wiredTiger 缓存大小  

wiredTiger.cache.bytes_currently_in_the_cache wiredTiger 缓存使用大小  

wiredTiger.cache.tracked_dirty_bytes_in_the_cache wiredTiger 缓存中脏数据大小  

wiredTiger.cache.unmodified_pages_evicted wiredTiger 缓存未修改 page 置换情况  

wiredTiger.cache.pages_read_into_cache wiredTiger 缓存读入 page 情况  

wiredTiger.cache.pages_written_from_cache wiredTiger 缓存写出 page 情况  

mem.resident 常驻内存使用情况  

mem.virtual 虚拟内存使用情况  

replication_lag 副本集成员延时 大于 15

replication_state 副本集成员 Primary, Secondary 等状态 等于 12

replication_hosts 副本集成员 IP 信息 No Primary

replication_oplog_growth_rate oplog 增长率  

replication_oplog_window oplog 存储的操作时长  

alive Mongodb 存活情况 等于 0

看完上述内容,你们掌握 MongoDB 的监控指标有哪些的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注丸趣 TV 行业资讯频道,感谢各位的阅读!

向 AI 问一下细节

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-12-04发表,共计1683字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)