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

[feature request] Add database uptime to /debug/vars endpoint #7776

Closed
rossmcdonald opened this issue Dec 29, 2016 · 0 comments · Fixed by #7863
Closed

[feature request] Add database uptime to /debug/vars endpoint #7776

rossmcdonald opened this issue Dec 29, 2016 · 0 comments · Fixed by #7863

Comments

@rossmcdonald
Copy link
Contributor

rossmcdonald commented Dec 29, 2016

Feature Request

Proposal:

Currently the database uptime is included in the output to SHOW DIAGNOSTICS, but is not included in the /debug/vars endpoint output.

Current behavior:

Uptime is not included in the /debug/vars output.

Desired behavior:

Uptime will be included in the /debug/vars output. Here are the vars from SHOW DIAGNOSTICS:

name: system
PID  currentTime                    started                        uptime
---  -----------                    -------                        ------
8850 2017-01-20T00:30:30.417981478Z 2017-01-20T00:30:21.130836519Z 9.287145055s

Use case:

If uptime was exposed, Kapacitor could be used to monitor when the InfluxDB process crashes or restarts.

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

Successfully merging a pull request may close this issue.

3 participants