influxdata / influxdata/kapacitor

Ability to specify base path

Open
#2,478 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

I work for a large organization that uses a reverse proxy to mount services and each micro service is mounted in a sub path, not at the root of the domain.

Eg: kapacitor mounted at: https://hostname:port/integrations/services/KAPACITOR_MOUNTED_HERE

I see no way of specifying a base path for kapacitor and when I hit the ping endpoint it responds with 404 because I can't make it strip the base path for the endpoint, so it sees the full path.

Do you have any suggestions?

Contributor guide

Open the contributing guide

Research direction

Start by tracing Kapacitor's HTTP routing and ping endpoint handling, then inspect how requests forwarded through a reverse proxy retain their mounted path. Done means a configurable base path lets the ping endpoint work under a subpath such as /integrations/services/KAPACITOR_MOUNTED_HERE instead of returning 404. The issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.