sourcegraph/dev/prometheus/linux
Robert Lin 8700fae431
msp/runtime: add diagnostics handlers (#58762)
Adds support to MSP runtime for health and version checking. Also splits up the `msp-example` service for better readability, and registers a Prometheus metrics exporter in local dev.

Closes https://github.com/sourcegraph/sourcegraph/issues/58784

## Test plan

```
➜ curl localhost:9080/         
Variable: 13%                                                                                                     
➜ curl localhost:9080/-/healthz
unauthorized%                                                                                                     
➜ curl -H 'Authorization: bearer sekret' localhost:9080/-/healthz
healthz: ok%  
➜ curl localhost:9080/-/version                                  
dev%                   
```

![image](https://github.com/sourcegraph/sourcegraph/assets/23356519/afdf6773-d110-4fba-9366-9bfda25e595b)
2023-12-06 10:54:09 -08:00
..
prometheus_targets.yml msp/runtime: add diagnostics handlers (#58762) 2023-12-06 10:54:09 -08:00