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

Fix missing alpha health metric. #2700

Merged
merged 1 commit into from
Oct 30, 2018
Merged

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Oct 29, 2018

Missed this change for #2670 (7150815).

The dgraph_alpha_health_status disappeared from /debug/prometheus_metrics in v1.0.10-rc1. It's available in /debug/vars, but not in /debug/prometheus_metrics.

This should fix it.

Steps to reproduce:

  1. Run an Alpha
  2. curl localhost:8080/debug/prometheus_metrics | grep dgraph_alpha_health_status should return output.
  3. curl localhost:8080/debug/vars | grep dgraph_alpha_health_status should return output.

This change is Reviewable

Copy link
Contributor

@srfrog srfrog left a comment

Choose a reason for hiding this comment

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

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

@danielmai danielmai merged commit 3897db2 into master Oct 30, 2018
@danielmai danielmai deleted the danielmai/metrics_alpha_health branch October 30, 2018 22:50
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
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