influxdata / influxdata/influx-cli
Feature Request: Support specifying path prefix for InfluxDB URL
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
I'm opening a feature request for feature that was already done on 1.8: https://github.com/influxdata/influxdb/issues/10294
It was done by @bthesorceror on https://github.com/influxdata/influxdb/pull/16599.
The idea is to allow specifying a sub-path on the URL, so the client could work when an HTTP reverse proxy is routing the requests based on the path. For example, using a URL: https://example.com/influxdb/.
Apparently, this support was removed on version 2, as the flags no longer exists.
Is it possible to support this?
Thanks,
Yehoshua
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the requested behavior with InfluxDB issue 10294 and pull request 16599, then trace how influx-cli currently parses its InfluxDB URL and handles the removed flags. Done means defining and implementing support for a URL sub-path such as https://example.com/influxdb/ without breaking normal URLs, with behavior verified against the referenced prior implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100