-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
metricbeat/module/mongodb/collstats: Add extra collstats metrics #42171
Merged
stefans-elastic
merged 24 commits into
elastic:main
from
stefans-elastic:mongo_collstats
Jan 20, 2025
Merged
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
eb7bbcb
mongo collStats PoC
stefans-elastic 9ae1258
introduce waitgroup
stefans-elastic 065a342
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic 3cef86a
[metricbeats][mongodb] handle extra collstats metrics
stefans-elastic b673cd9
fix linter errors
stefans-elastic 7ef7d47
fix imports
stefans-elastic 2eb5554
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic 0ad0c69
update changelog
stefans-elastic e6006d1
add max and nindexes to collstats data
stefans-elastic 6cbbccd
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic 694b9ab
update copyright years in NOTICE.txt
stefans-elastic e12868d
update NOTICE.txt
stefans-elastic dff33ce
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic ebacc6c
Merge branch 'main' into mongo_collstats
stefans-elastic ac1f926
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic 18b6e98
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic d133f7f
Merge branch 'main' of github.com:stefans-elastic/beats into mongo_co…
stefans-elastic 30a57f5
impove code readability, add code comments
stefans-elastic 8efa46e
replace WaitGroup with errgroup
stefans-elastic ddef8aa
Merge branch 'mongo_collstats' of github.com:stefans-elastic/beats in…
stefans-elastic a56948c
run gofumpt to fix imports
stefans-elastic 48fe367
fix loop variable captured by func literal
stefans-elastic d667587
Merge branch 'main' into mongo_collstats
stefans-elastic c58807f
Merge branch 'main' into mongo_collstats
shmsr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Any reason to not add fields like -- capped?
https://github.com/huggingface/Mongoku/blob/39b0d564433f1a68f3e7ea9bff482ca290e4f027/lib/Collection.ts#L11
Also, see the list here: https://github.com/DataDog/integrations-core/blob/bef0a2f2971ff01176689794aaa7eb0bb0b37a9e/mongo/datadog_checks/mongo/metrics.py#L140
If we are getting them, can we please add?
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 quite a lot of fileds which we get here @shmsr .
We planned to list down the most useful one.