mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
This change migrates Telemetry Gateway to use the MSP runtime library for service initialization, which now handles Sentry, OpenTelemetry, etc and offers a simpler interface for defining services. Because we now only expose 1 port (i.e. no debugserver port), I've made the default in local dev `6080`, because my browser was complaining about `10080`. ## Test plan ```sh sg run telemetry-gateway curl http://localhost:6080/-/version # 0.0.0+dev% curl http://localhost:6080/-/healthz # unauthorized% curl -H 'Authorization: bearer sekret' http://localhost:6080/-/healthz # healthz: ok% ``` Also visit http://localhost:6080/debug/grpcui/ and http://localhost:6080/metrics, which are expected to be enabled in local dev. Then try with full Sourcegraph stack: ``` sg start ``` <img width="660" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/23356519/9e799c58-4d02-4752-9f9f-da3108ba762f"> |
||
|---|---|---|
| .. | ||
| prometheus_targets.yml | ||