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

release/v1.0: Add prometheus metrics for latest raft applied index and oracle max assigned ts. #3338

Merged
merged 3 commits into from
Apr 29, 2019

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Apr 29, 2019

  • Add a new metric dgraph_raft_applied_index to capture the latest Raft index that has been applied for Alphas.

    Metric looks like this in /debug/prometheus_metrics:

    dgraph_raft_applied_index 5024
    
  • Add a new metric dgraph_max_assigned_ts to capture the latest max assigned timestamp from Zero. This value is cluster-wide and should be the same across all Alphas.

    Metric looks like this in /debug/prometheus_metrics:

    dgraph_max_assigned_ts 50800
    

This change is Reviewable

Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@danielmai danielmai merged commit 08d35a5 into release/v1.0 Apr 29, 2019
@danielmai danielmai deleted the danielmai/v1.0-watermark-index-metric branch April 29, 2019 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants