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

InfluxDB 2.0: There is now way how to get version of InfluxDB from API [area/api] #13907

Closed
bednar opened this issue May 14, 2019 · 6 comments · Fixed by #18173
Closed

InfluxDB 2.0: There is now way how to get version of InfluxDB from API [area/api] #13907

bednar opened this issue May 14, 2019 · 6 comments · Fixed by #18173
Labels

Comments

@bednar
Copy link
Contributor

bednar commented May 14, 2019

The InfluxDB 1.7.x has defined /ping endpoint with X-Influxdb-Version header but in the API 2.0 there is no such thing.

The /health endpoint will be useful for that.

@bednar
Copy link
Contributor Author

bednar commented Aug 1, 2019

Related to #13747

@stale
Copy link

stale bot commented Oct 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 30, 2019
@stale
Copy link

stale bot commented Nov 6, 2019

This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.

@stale stale bot closed this as completed Nov 6, 2019
@bednar
Copy link
Contributor Author

bednar commented Nov 6, 2019

+1

@bednar bednar reopened this Nov 6, 2019
@stale stale bot removed the wontfix label Nov 6, 2019
@stale
Copy link

stale bot commented Feb 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 4, 2020
@russorat russorat removed the wontfix label Feb 18, 2020
@sranka
Copy link
Contributor

sranka commented May 20, 2020

InfluxDB 1.8 "/health" endpoint already returns version:

{
"checks": [],
"message": "ready for queries and writes",
"name": "influxdb",
"status": "pass",
"version": "1.8.0"
}

Whereas the InfluxDB2.0 now returns

{
"name": "influxdb",
"message": "ready for queries and writes",
"status": "pass",
"checks": []
}

Adding a version string to 2.0 will fix this issue.

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

Successfully merging a pull request may close this issue.

3 participants