influxdata / docs-v2

InfluxData Documentation that covers InfluxDB Cloud, InfluxDB OSS 2.x, InfluxDB OSS 1.x, InfluxDB Enterprise, Telegraf, Chronograf, Kapacitor, and Flux.
https://docs.influxdata.com
MIT License
72 stars 262 forks source link

Add Troubleshooting section with additional context on API errors #5512

Open gunnaraasen opened 2 months ago

gunnaraasen commented 2 months ago

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

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 commented 1 month ago

@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 commented 1 month ago

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

jstirnaman commented 1 month ago

~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 commented 1 month ago

Takeaways:

  • details of error responses and behavior does not have much context in the API 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.