[COMPASS-6704] Investigate changes in SERVER-70025: add serverStatus metrics planCacheHits and planCacheMisses Created: 06/Apr/23  Updated: 29/Jan/24  Resolved: 10/Apr/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-70025 add serverStatus metrics planCacheHit... Closed
Documentation Changes: Not Needed

 Description   
Original Downstream Change Summary

We added 4 new serverStatus metrics to count hits and misses in the classic and SBE plan caches. They are:

query.planCache.classic.hits
query.planCache.classic.misses
query.planCache.sbe.hits
query.planCache.sbe.misses

Description of Linked Ticket

Inspired by SERVER-64978, we should add two additional serverStatus metrics counters to accumulate plan cache hits and misses. christopher.harris@mongodb.com has confirmed this would be useful for product/field team.



 Comments   
Comment by PM Bot [ 29/Jan/24 ]

Fix Version updated for upstream SERVER-70025:
7.0.0-rc0

Comment by Rhys Howell [ 10/Apr/23 ]

No devtools changes needed, these fields aren't used in our ui or code. The new metrics will automatically be shown in those new servers in the explain output.

Generated at Wed Feb 07 22:44:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.