Observability & Logging¶
What you reach for when something is broken in production. The portfolio's defaults: Sentry for errors, structured app loggers (Pino in Node, Python logging / structlog), Google Analytics 4 for product analytics, and Grafana/Prometheus only where it's earned.
Sentry is wired into 25 of the 28 products (Do Me A Ditty yes; Writers Room has none of its own). The SDK only ingests when its DSN env var is populated (GameTrakker's Sentry stays inactive until a DSN is set).
Sentry¶
What it is. Error / exception aggregation. Captures unhandled exceptions, manual Sentry.captureException(...) calls, and performance traces. Stack-trace symbolication, release tracking, alerting.
Used in: 25 of 28 products (AI Concierge added 2026-11-12, env-gated). No Sentry found in: Go Green Transit's API and OpenSentinel (it has its own built-in metrics, replay, prompt inspector and alerting). SDKs:
- @sentry/node, @sentry/nextjs, @sentry/react (TS), @sentry/node / @sentry/nextjs ^10 (AI Concierge), @sentry/node ^10 (Tutor AI), @sentry/electron ^5 (Jarvis (Electron), GoGreen Seller AI), @sentry/browser (Jarvis (Tauri) frontend), @sentry/react-native (SuperCabs, GameTrakker mobile).
- sentry-sdk[fastapi] (Python): DOC-AI, SmartForms, AutoDiag AI.
- sentry-laravel (PHP): VotigoPro, Maximus Pet Store (^4), Pecos River Traders (^4).
- Marketing AI loads a browser SDK in its desktop shell only.
Configuration pattern: SENTRY_DSN env var; if blank, the SDK no-ops.
Application loggers¶
Pino (Node)¶
What it is. Fastest JSON logger for Node. Structured logs, child loggers, redaction, pretty-print transport for dev.
Used in: Toolbelt Handyman (9), SuperCabs (9.5), Workflow Hub (9.6), Sourcing AI (10), GoGreen Verify (10), GameTrakker (10), Do Me A Ditty (10), Marketing AI (AI orchestrator), AI Concierge, Sell Me A Pen (9), Recruiting AI (9), PoligoPro (10), HouseKey (pino 8 alongside Morgan).
Winston¶
What it is. Older Node logger; pluggable transports (file, syslog, HTTP).
Used in: GGPI website (JSON to console and, in production, logs/error.log + combined.log), GoGreen Seller AI (winston 3), APEX Sales Training (with daily-rotate-file), Tutor AI (with daily-rotate-file).
Morgan¶
What it is. Express HTTP-request logger middleware. Logs method, path, status, duration.
Used in: GGPI website (Morgan feeds Winston at http level), APEX Sales Training, HouseKey.
Pattern. Morgan logs each HTTP request → Pino/Winston handles app-level structured events → Sentry catches exceptions.
structlog (Python)¶
What it is. Python's structured logger of choice. JSON output, contextual logger binding.
Used in: SmartForms. AutoDiag AI uses standard Python logging; DOC-AI does not use structlog.
Framework-native loggers¶
- Laravel logs — VotigoPro, Maximus Pet Store (also
laravel/pailfor tailing), Pecos River Traders. - Angular
LoggerService— HouseKey's public site. - Rust
tracing— Go Green Transit desktop. - OpenSentinel — its own audit-logger and observability modules.
Metrics: Grafana + Prometheus (+ Loki)¶
What it is. Prometheus scrapes /metrics endpoints, stores time-series; Grafana visualizes them.
Used in:
- Workflow Hub — Grafana 11, Prometheus v2.54.1 and Loki 3.3.2 in an optional monitoring compose profile.
- DOC-AI — prometheus-client in the app; Prometheus and Grafana in the dev compose.
- AutoDiag AI — a /metrics endpoint plus Grafana.
Why most apps don't have it. The cost of operating it (storage, dashboards, alerting) isn't justified for individual apps. Sentry + per-app logs cover incident response.
In-app usage ledgers and alerting¶
Several products record their own operational data instead of using an external service:
- AI usage / cost ledgers: GGPI website (
AIUsageLog), SmartForms (ai_usage), SuperCabs (llmClientbudget), Marketing AI (budget + tracing), BidIt (generation logging), OpenSentinel (prompt inspector / replay). - DB-backed request and error logs: GGPI website (
RequestLog,ErrorLog, shown in the admin portal). - Ops alerting: Telegram (BidIt, Sourcing AI, GameTrakker, GGPI website), a Slack alert-router (Marketing AI), ops alerts (DOC-AI).
- Uptime: GoGreen Verify runs a weekly
uptime.ymlworkflow; Recruiting AI has an uptime heartbeat service.
Product analytics¶
Google Analytics 4 (GA4)¶
Used in: GGPI website (measurement ID wired through build args), Sell Me A Pen, PoligoPro, Workflow Hub, VotigoPro (GA ID env), HouseKey (measurement ID in .env.example), Tutor AI. SmartForms deliberately does not use it.
PostHog (not used in portfolio)¶
Open-source product analytics — events, funnels, session replay, feature flags. Not used in any of the 28 products.
Vercel Analytics (not used in portfolio)¶
Not used in any of the 28 products.
Mixpanel / Amplitude / Heap (not used)¶
GA4 covers the marketing-side need.
LangSmith (LLM-specific observability)¶
What it is. LangChain's tracing + eval product. Every LLM call, tool invocation, prompt, retrieval becomes a span you can inspect.
Used in: DOC-AI only.
Why not everywhere. Requires LangChain. Apps using hand-rolled LLM loops need a different approach, which is why the products above keep their own usage ledgers.
Log aggregation¶
| Tool | Notes |
|---|---|
| Datadog / New Relic / Honeycomb | Comprehensive APM. Not used; cost-prohibitive at portfolio scale. |
| Loki + Grafana | Used optionally in Workflow Hub's monitoring profile; nowhere else. |
| ELK / Elasticsearch + Kibana | The original. Not used for logs. |
| Better Stack / Logtail | Hosted log management. Not used. |
| CloudWatch | AWS-native. Not relevant — the portfolio is on IONOS. |
Current log access pattern: SSH to IONOS → docker compose logs -f {service}.
Tracing (not used)¶
OpenTelemetry, Zipkin, Jaeger. Not in any app config. Sentry performance + request logs cover the basics for current scale.
Decision guide¶
Need to know when prod is broken? Sentry. Set the DSN.
Need structured app logs? Pino (Node), structlog / logging (Python).
Need HTTP-level access logs? Morgan (Express) or framework default.
Need product-usage metrics? GA4.
Need infrastructure metrics dashboards? Grafana + Prometheus only when you'll actually look at them.
Need LLM-call traces or cost tracking? A usage ledger table in the app; LangSmith if you're on LangChain (DOC-AI).