ClickHouse / ClickHouse/ClickStack-helm-charts
Feature Request: Support custom basePath (subpath deployment) for HyperDX UI
- Vorherrschende Sprache
- Shell
- Sterne
- 75
- Forks
- 54
- Ø Merge
- 3 T. 19 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
### Description
Currently, the HyperDX UI is deployed assuming access at the root ("/") path. In deployments behind a reverse proxy or ingress under a subpath (e.g., `https://example.com/observe/`), asset paths like `/_next/static/...` break, causing UI rendering issues.
### Proposal
Add Helm chart support to configure a custom base path, such as:
```yaml
hyperdx:
basePath: "/observe"
```
### This would:
- Set the Next.js basePath and assetPrefix appropriately.
- Adjust redirect logic to use the configured subpath.
- Allow the application to function correctly when served under paths other than /.
### Justification
Many deployments are used behind reverse proxies with path-based routing. In these scenarios, being able to configure a custom base path is essential to ensure that the UI works as expected. This functionality would be highly appreciated by users who need to integrate HyperDX alongside other services on the same domain.
### References
Next.js basePath documentation: https://nextjs.org/docs/pages/api-reference/next-config-js/basePath
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, die Werte des Helm-Charts sowie die Next.js-Konfiguration und die Redirect-Logik der HyperDX UI zu lokalisieren. Verfolge, wie sich ein konfigurierter `/observe`-Basispfad auf statische Assets und Redirects auswirken würde, und überprüfe anschließend, dass die UI gerendert wird und die Navigation funktioniert, wenn sie unter diesem Subpfad bereitgestellt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- helm, next.js
- Bereich
- devops, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100