influxdb3-python
influxdb3-python copied to clipboard
Enabling access to DBs on a subpath
trafficstars
Use Case
I'd like to connect to a database that is accessible on a URL matching this: my.domain.org/influxdb. Currently it seems the database API has to be accessible on the root of the domain.
Expected behavior
I can successfully query the database, and the client library will sent requests to e.g. influxdb/api/v2/write when submitting data.
Actual behavior
The client library queries /api/v2/write without the subpath that the database is accessible on.
Additional info
What is the point of removing the path here https://github.com/InfluxCommunity/influxdb3-python/blob/c35f37281bd3c0141c1c4122897878733775681f/influxdb_client_3/init.py#L274
No response