hyperdxio / hyperdx

Resolve production issues, fast. An open source observability platform unifying session replays, logs, metrics, traces and errors powered by Clickhouse and OpenTelemetry.
https://hyperdx.io/
MIT License
6.64k stars 194 forks source link

hyperdx cannot be deployed without rebuilding frontends #462

Open etiennea opened 3 months ago

etiennea commented 3 months ago

Having to run build-local just to bake some environment vars into the UIs is very annoying. There is no reason the UIs cannot pull these at runtime from env vars like the backend does.

MikeShi42 commented 3 months ago

Hi @etiennea definitely agree, unfortunately with Next.js it isn't super straightforward to have the variables baked dynamically and we have yet to find a straightforward solution to do so. We're open to ideas/approaches on how to improve this (or even PRs). We've evaluated using packages such as next-runtime-env and some other workarounds to no success so far.

Just linking this with #12 where we've had some prior conversations around this.