Skip to content

Commit

Permalink
Add debugging services
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jun 19, 2023
1 parent 1ab4b11 commit 8dfe814
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/libraries/bolt/DEBUGGING_SERVICES.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 8dfe814

Please sign in to comment.