Skip to content
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

[mongo] oplog replicationInfo metrics #2429

Merged
merged 2 commits into from
Apr 20, 2016
Merged

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented Apr 20, 2016

Rebase of @rhwlo's #2237 changes.

Added my 2 cents
Rename ReplicationInfo metric names to match db.getReplicationInfo
command return, i.e.

  • oplog.totalSizeMBoplog.logSizeMB
  • oplog.timeDiffSecondsoplog.timeDiff

Thanks again @rhwlo

joshu-stripe and others added 2 commits April 20, 2016 16:47
breaking out a <2.7-safe total_seconds to its own function
Rename `ReplicationInfo` metric names to match `db.getReplicationInfo`
command return, i.e.
* `oplog.totalSizeMB` → `oplog.logSizeMB`
* `oplog.timeDiffSeconds` → `oplog.timeDiff`
@yannmh yannmh self-assigned this Apr 20, 2016
@yannmh yannmh added the checks label Apr 20, 2016
@yannmh yannmh added this to the 5.7.4 milestone Apr 20, 2016
@yannmh yannmh merged commit 1551a4f into master Apr 20, 2016
@yannmh yannmh deleted the yann/rebase-mongodb-oplog-info branch April 20, 2016 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants