-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] PMM-9288 - Extended metrics and labels for MongoDB QAN #3752
base: doc-release-3.1.0
Are you sure you want to change the base?
Conversation
- `keys_examined`: number of index entries scanned | ||
- `nreturned`: number of documents returned by the query | ||
- `response_length`: size of the response in bytes | ||
- `millis`: query execution time in milliseconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Millis are same like "Query Time" in this case. No need to mention it.
|
||
|
||
#### Additional MongoDB QAN metrics | ||
The following metrics are now available in QAN for MongoDB queries: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we mention that these are in "details" for query?
- `docs_examined`: number of documents scanned during query execution | ||
- `keys_examined`: number of index entries scanned | ||
- `nreturned`: number of documents returned by the query | ||
- `response_length`: size of the response in bytes | ||
- `millis`: query execution time in milliseconds | ||
- `locks_global_acquire_count_read_shared`: global read lock acquisition count | ||
- `locks_global_acquire_count_write_shared`: global write lock acquisition count | ||
- `locks_database_acquire_count_read_shared`: database read lock acquisition count | ||
- `locks_database_acquire_wait_count_read_shared`: database read lock wait count | ||
- `locks_database_time_acquiring_micros_read_shared`: time spent acquiring database locks in microseconds | ||
- `locks_collection_acquire_count_read_shared`: collection read lock acquisition count | ||
- `storage_bytes_read`: amount of data read from storage in bytes | ||
- `storage_time_reading_micros`: time spent reading from storage in microseconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use for each metric it's humanized name from here https://github.com/percona/grafana-dashboards/pull/1656/files#diff-179300d38c32860677d134b1586267e655e28b77c0f7a06018f139f04b8a6925R1115?
- **Username** | ||
- **Service Type** | ||
- **Node Type** | ||
- **City** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are not real filters, maybe leftover?
|
||
### MongoDB-specific filter groups | ||
- **Plan Summary**: filters queries by execution plan type (COLLSCAN, IXSCAN, etc.) to easily identify inefficient full collection scans | ||
- **Client Application Name**: filters queries by the application name that generated them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is available for PG also
Co-authored-by: Jiří Čtvrtka <[email protected]>
Co-authored-by: Jiří Čtvrtka <[email protected]>
- **City** | ||
- **AZ** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **City** | |
- **AZ** |
PMM-0
Link to the Feature Build: SUBMODULES-0
If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:
If this PR is related to some other PRs in this or other repositories, please provide links to those PRs: