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 Troubleshooting section with additional context on API errors #5512

Open
gunnaraasen opened this issue Jul 8, 2024 · 4 comments
Open
Assignees
Labels
API InfluxDB Cloud Dedicated InfluxDB v3 InfluxDB v3.0 (platforms using IOx)

Comments

@gunnaraasen
Copy link
Member

gunnaraasen commented Jul 8, 2024

While we have documentation available for the APIs exposed by Dedicated,

  • the API contents are not exposed well in the docs search
  • details of error responses and behavior does not have much context in the API docs

For a concrete example, we should provide advice on how clients should handle 429 and 503 responses.

Similar to the docs for our other products, the Cloud Dedicated docs should have a "Troubleshooting" section with a "FAQs" and/or "error messages" page with additional context on API (and other errors) which can be encountered. This could be similar to the Enterprise FAQs page.

Relevant URLs
@jstirnaman
Copy link
Contributor

jstirnaman commented Jul 22, 2024

@gunnaraasen We have troubleshooting pages specific to writing and querying--e.g. https://docs.influxdata.com/influxdb/cloud-dedicated/write-data/troubleshoot/#review-http-status-codes

The API spec doesn't specify 429 status code. I interpret your description to mean a customer is requesting a change for the API to return a 429?

Regarding "the API contents are not exposed well in the docs search", yeah our API docs implementation has some limitations. We're exploring better, more integrated options.

@jstirnaman jstirnaman self-assigned this Jul 22, 2024
@jstirnaman
Copy link
Contributor

jstirnaman commented Jul 22, 2024

Oh, sorry, the v1 /write spec does specify 429. I need to include that in Troubleshooting sections.

@jstirnaman
Copy link
Contributor

jstirnaman commented Jul 24, 2024

Oh, sorry, the v1 /write spec does specify 429. I need to include that in Troubleshooting sections.

Nope, moving this to a new issue we can track: #5532

@jstirnaman
Copy link
Contributor

Takeaways:

  • details of error responses and behavior does not have much context in the API docs
  • Link or copy Troubleshooting sections into the API ref docs.
  • Remove API ref duplication (v1-compat vs v2 "legacy" - probably revert the inclusion of "legacy" endpoints in v2 docs)
  • the API contents are not exposed well in the docs search

Reimplement the API ref docs to integrate them with the rest of the site.

@jstirnaman jstirnaman added the InfluxDB v3 InfluxDB v3.0 (platforms using IOx) label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API InfluxDB Cloud Dedicated InfluxDB v3 InfluxDB v3.0 (platforms using IOx)
Projects
None yet
Development

No branches or pull requests

2 participants