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

Add prometheus support for status endpoint #209

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

triluch
Copy link

@triluch triluch commented Oct 7, 2019

This PR adds support for prometheus format to check_status endpoint.

Fixes #190

@jfreeland
Copy link

Does, or can, this somehow differentiate between backup and non-backup upstreams?

@triluch
Copy link
Author

triluch commented Oct 22, 2019

@jfreeland sorry, but this information doesn't exists in any structures that formatting function uses (same is true for other functions), so implementing that isn't as trivial.

@mdschmitt
Copy link

This has been sitting around for a while, any plans to merge..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

添加prometheus格式的输出
3 participants