mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +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"> |
||
|---|---|---|
| .. | ||
| all | ||
| linux | ||
| BUILD.bazel | ||
| README.md | ||
Prometheus configuration
This directory contains configuration for the Prometheus metrics deployment.
This directory is mounted into the prometheus container. After making your changes to this directory,
simply docker restart prometheus for your changes to take effect (depending on your change, Prometheus
may respond to it as soon as you save the file).