Skip to content

Commit

Permalink
PMM-12468 Add full scan to MongoDB. (#1650)
Browse files Browse the repository at this point in the history
* PMM-12468 Add full scan to MongoDB.

* Update pmm-app/src/pmm-qan/panel/QueryAnalytics.constants.ts

Co-authored-by: Nurlan Moldomurov <[email protected]>

---------

Co-authored-by: Nurlan Moldomurov <[email protected]>
  • Loading branch information
JiriCtvrtka and BupycHuk authored Feb 10, 2025
1 parent 2aab0ae commit b1fe775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pmm-app/src/pmm-qan/panel/QueryAnalytics.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ export const METRIC_CATALOGUE = {
},
full_scan: {
humanizeName: 'Full Scan',
tooltipText: 'The query performed a full table scan',
tooltipText: 'The query performed a full table/collection scan',
simpleName: 'full_scan',
serviceTypes: [Databases.mysql],
serviceTypes: [Databases.mongodb, Databases.mysql],
metricRelation: (data) => {
const mainMetric = get(data, ['full_scan', 'sum']);
const divider = get(data, ['num_queries', 'sum']);
Expand Down

0 comments on commit b1fe775

Please sign in to comment.