Skip to content

Cherry-pick #7604 to 6.x: Add oplog metricset to mongodb module#8019

Merged
ruflin merged 1 commit intoelastic:6.xfrom
jsoriano:backport_7604_6.x
Aug 24, 2018
Merged

Cherry-pick #7604 to 6.x: Add oplog metricset to mongodb module#8019
ruflin merged 1 commit intoelastic:6.xfrom
jsoriano:backport_7604_6.x

Conversation

@jsoriano
Copy link
Copy Markdown
Member

Cherry-pick of PR #7604 to 6.x branch. Original message:

Oplog size and window are two important metrics which show replication health.
With this metric set, we can have this information about replication:

{"mongodb": {
  "oplog": {
    "size": {
      "allocated": 2605587456,
      "used": 2616684138
    },
    "first": {
       "ts": 6515806468564845000
    },
    "last": {
       "ts": 6578335797915681000
    },
    "window": 62529329350836220
  }
}}

@jsoriano
Copy link
Copy Markdown
Member Author

Failing test is not related

@ruflin
Copy link
Copy Markdown
Contributor

ruflin commented Aug 23, 2018

@jsoriano This needs a rebase.

Add metrics about replication health.

Co-authored-by: Hossein Taleghani <a3dho3yn@users.noreply.github.com>
Co-authored-by: Bahar Taghavi <bahareh.t@fanap.plus>
(cherry picked from commit ca8f56b)
@ruflin ruflin merged commit a9a870e into elastic:6.x Aug 24, 2018
@jsoriano jsoriano deleted the backport_7604_6.x branch November 8, 2018 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants