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

/metrics endpoint to return a json file #1905

Closed
Deunitato-sentient opened this issue Jun 1, 2020 · 2 comments
Closed

/metrics endpoint to return a json file #1905

Deunitato-sentient opened this issue Jun 1, 2020 · 2 comments

Comments

@Deunitato-sentient
Copy link

Deunitato-sentient commented Jun 1, 2020

Possibly to return a json file of the metrics when calling /metrics endpoint\

Reference to #1898 #1901

@Deunitato-sentient Deunitato-sentient added the triage Needs to be triaged and prioritised accordingly label Jun 1, 2020
@Deunitato-sentient Deunitato-sentient changed the title Request for /metrics endpoint to return a json file /metrics endpoint to return a json file Jun 1, 2020
@RafalSkolasinski
Copy link
Contributor

We could maybe have raw metrics (json) under /metrics and prometheus compatible form under /prometheus.

Question: for returned json - do you think about raw output of metrics method or processed information same as one exposed for prometheus - just in json format?

@ukclivecox ukclivecox removed the triage Needs to be triaged and prioritised accordingly label Jun 4, 2020
@ukclivecox
Copy link
Contributor

the /metrics is particular to prometheus. We could have a separate endpoint, e.g. /statistics for formatted metrics from the server. No plans at present for this.

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

No branches or pull requests

3 participants