Files
conversation-history/SquareMCP/runbooks/observability/00-index.md
T

3.0 KiB

Observability Runbook Index

Folder: SquareMCP/runbooks/observability/
Cluster: art0 (single-node MicroK8s)
Grafana: https://dashboard.fetcherpay.com
Login: admin / admin_secure_2024


What this folder covers

Operational documentation for monitoring, logging, tracing, and alerting across FetcherPay and SquareMCP. This includes everything added or fixed in the 2026-06-16 monitoring session:

  • OpenTelemetry Collector (traces, logs, metrics)
  • FetcherPay Prometheus + remote-write receiver
  • Redis exporter (new)
  • Loki / Tempo operational dashboards
  • Comprehensive health overview dashboard
  • Alertmanager email + Slack routing
  • Known unhealthy services and their root causes

Resource URL / Location
Main health dashboard https://dashboard.fetcherpay.com/d/fetcherpay-health-overview/fetcherpay-squaremcp-e28094-health-overview
Loki Operational https://dashboard.fetcherpay.com/d/MQHVDmtWk/loki-operational
Tempo Operational https://dashboard.fetcherpay.com/d/5BcHdkRgz/tempo-operational
Blackbox Exporter imported dashboard in Grafana
MySQL Overview imported dashboard in Grafana
Node Exporter Full imported dashboard in Grafana
K8s cluster imported dashboard in Grafana

Files in this runbook

File Purpose
01-monitoring-architecture.md What is monitored, by what, and where the data lives
02-dashboards-and-queries.md Dashboard inventory + reusable PromQL queries
03-api-reference.md How to query Prometheus/Loki/Tempo/Grafana via API
04-alerts-and-response.md Alert routes, what they mean, and how to respond
05-ai-agent-guide.md How an AI agent should use this observability stack
06-human-guide.md How a human uses Grafana day-to-day
07-known-issues.md Pre-existing unhealthy services and why

One-line status commands

# Cluster overview
microk8s kubectl get nodes
microk8s kubectl get pods -n fetcherpay
microk8s kubectl get pods -n observability

# Core observability health
microk8s kubectl get pods -n observability -l app=otel-collector
microk8s kubectl get pods -n fetcherpay -l app=prometheus
microk8s kubectl get pods -n observability -l app.kubernetes.io/name=grafana

# Quick Prometheus query (FetcherPay)
curl -u admin:admin_secure_2024 \
  'https://dashboard.fetcherpay.com/api/datasources/proxy/uid/ffpaxh13af2f4e/api/v1/query?query=up'

Datasource UIDs (for API use)

Datasource UID Type
Prometheus (FetcherPay) ffpaxh13af2f4e prometheus
Prometheus (K8s Observability) ffpaxh1q3zo5cc prometheus
Loki afpb0s2gdn6yoc loki
Tempo efpb0sa7zs0e8f tempo
Alertmanager afpb0sgrf7hmoa alertmanager

  • Phase 1 Communications deploy handoff: SquareMCP/deployments/2026-06-15-phase1-communications-deploy-handoff.md
  • Monitoring deploy session: SquareMCP/deployments/2026-06-16-otel-collector-remote-write-loki-tempo-dashboards.md