Skip to content

Operations Guide

This section contains operational runbooks and procedures for running RustChat in production.

Documentation Sections

Runbooks

Topics Covered

Incident Response

  • Service outage response
  • Database connectivity issues
  • Redis failures
  • File storage problems

Maintenance

  • Database backups
  • Log rotation
  • Certificate renewal
  • Version upgrades

Monitoring

  • Health check endpoints
  • Key metrics to watch
  • Alert thresholds
  • Log analysis

Debugging

  • Common issues and solutions
  • Log locations
  • Debug mode
  • Tracing and observability

Quick Reference

Health Checks

bash
# Backend health
curl http://localhost:3000/health

# Full stack
curl http://localhost:8080/api/v4/system/ping

Log Locations

# Docker Compose
docker compose logs -f backend
docker compose logs -f frontend

# Structured JSON logs (backend)
# Configure RUST_LOG for verbosity

For deployment: See Admin Guide.

RustChat Documentation