Hope you can put my mind a bit at ease here - Note that this post is not as much an ask for help for my specific case, but more a question about whether the documentation/developer experience with InfluxDB (or maybe specifically with the serverless cloud offering) is overall very confusing for anyone else, or if i’m going about it in the wrong way? Sidenote: I’m a CTO at a startup with 20+ years of experience working with APIs… It’s not normally hard for me to get something like this running.
Long story short - I have created a serverless subscription on https://cloud2.influxdata.com/, and have very easily been able to add data. Now I want to query my data from my application. Sidenote: I find that the “Data Explorer” is a bit primitive, but figured it was due to it being a new product?
I tried to query using the PHP client to start with, and remembering reading that the Flux query language is pretty much dead now (according to Reddit - Dive into anything at least), I wanted to do SQL, and this is where the troubles started. All query examples on GitHub - influxdata/influxdb-client-php: InfluxDB (v2+) Client Library for PHP are Flux only - None with SQL or InfluxQL. I tried a couple of queries regardless, but just got empty responses, so I figured that I would try it out using the HTTP API, as it might just be a problem with the php client.
I go into the resource center and head over to InfluxDB HTTP API | InfluxDB Cloud Serverless Documentation, where the links send me to InfluxDB CloudServerless API documentation. This is the documentation for Cloud 2.x, but I thought I was on 3.x since it’s influxdb v 3 that runs the serverless offering? Or maybe it’s just version 2 of the cloud offering? Regardless, I cant find anything on cloud 3.x, so I assume that I need to be reading the 2.x docs… Sidenote: None of the clicks are easily clickable on InfluxDB CloudServerless API documentation due to a css error and why is the page styling so different from the other pages?! I manage to get to Get started with InfluxDB Cloud Serverless | InfluxDB Cloud Serverless Documentation though…
Down the page I find a link to the InfluxDB HTTP API, but that takes me to the v2 OSS documentation apparently - Not exactly what I was looking for… If I change to the serverless offering at the top, I’m back to where I started on the serverless cloud api main page. Going back and instead making my way to Query data | Get started with InfluxDB | InfluxDB Cloud Serverless Documentation, I finally see some of what I wanted to see, however, the only reference to the http api is using InfluxQL via the v1 api, nothing about using SQL… Apparently, in order to query my data in an app that’s not written in one of the client library coding languages, I need to learn InfluxQL and use the v1 HTTP API, or reverse engineer one of the client libraries to pick the parts I need?
I dont want to give up completely, so I load up Use InfluxQL and InfluxDB v1 HTTP query API | InfluxDB Cloud Serverless Documentation and Postman, type in the URL and fiddle around with the parameters a bit, and finally get a response - “database not found: <bucket_name>”. I tripple checked the bucket name and api token, both are correct.
Last ditch effort, i figure that I will ask on slack, so I go to and click help and support → Slack community. “This link is no longer active”.
Overall, a very frustrating experience that makes me wonder if I should even be using Influx for my project. The selling points are very valid, and the fact that I wouldnt have to manage the infrastructure by using the serverless would make a big difference for me, but honestly, at this point, is it worth persisting?