From 8dfe8141abeda86178e11eddcc27b41765d0a9ee Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Mon, 19 Jun 2023 20:06:01 +0000 Subject: [PATCH] Add debugging services --- docs/libraries/bolt/DEBUGGING_SERVICES.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/libraries/bolt/DEBUGGING_SERVICES.md diff --git a/docs/libraries/bolt/DEBUGGING_SERVICES.md b/docs/libraries/bolt/DEBUGGING_SERVICES.md new file mode 100644 index 000000000..e495a0c3d --- /dev/null +++ b/docs/libraries/bolt/DEBUGGING_SERVICES.md @@ -0,0 +1,13 @@ +# Debugging Services + +## Reading logs + +Use the `bolt logs` command to read a service's logs. See `bolt logs --help` for more options. + +Remember that you can only read the logs of an executable (i.e. API services, workers, and standalone services), not libraries (i.e. operations). + +## Metrics + +Rivet exposes Prometheus metrics for as many parameters as possible. + +If you have Cloudflare Access configured, visit `https://prometheus-svc.MAIN_DOMAIN` where `MAIN_DOMAIN` is the value of `dns.domain.main`. From here, you can query metrics from all of the infrastructure & from Rivet services.