[DOCS-8263] Operation latency histogram Created: 12/Jul/16  Updated: 06/Dec/22  Resolved: 08/Nov/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.4 Core Server

Type: Task Priority: Critical - P2
Reporter: Ramon Fernandez Marina Assignee: Andrew Aldridge
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DOCS-8914 Document the $collStats aggregation s... Closed
Documented
Duplicate
is duplicated by DOCS-8165 Document the operation latency histogram Closed
Participants:
Days since reply: 7 years, 14 weeks, 1 day ago
Story Points: 2

 Description   

Summary

Provide a low-cost histogram in mongod that measures the execution time of reads, writes, and database commands.

Motivation

Currently, there is only a limited number of ways to inspect the performance of a running MongoDB instance. While the system profiler does provide detailed information about “slow” operations, profiling all operations is prohibitively expensive. This project aims to implement a lightweight histogram component in the database with negligible runtime impact, which would allow it to be on by default and allow all operations to be recorded in a useful fashion. The global histogram output will also be included in serverStatus statistics.

Documentation

Scope Document
Design Document

Docs Changes

  • $collStats aggregation stage
  • db.collection.latencyStats() shell helper
  • serverStatus.metrics change


 Comments   
Comment by Githook User [ 09/Nov/16 ]

Author:

{u'username': u'i80and', u'name': u'Andrew Aldridge', u'email': u'i80and@foxquill.com'}

Message: DOCS-8263: latencyStats part 2

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/d82a552b42fed90968b5c817685a75f83b522d0a

Generated at Thu Feb 08 07:55:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.