feat(hardened): Observability and metrics for Tier 4 services - #406
POWERFULMOVES wants to merge 3 commits into
Conversation
Add comprehensive Grafana monitoring dashboards for session-context-worker (19 panels) and messaging-gateway (17 panels). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add prometheus-client instrumentation to: - session-context-worker (port 8100): Convert JSON /metrics to Prometheus format * Counter: messages_received_total (by subject) * Counter: messages_processed_total (by context_type) * Counter: messages_failed_total (by error_type) * Counter: kb_upserts_published_total (by namespace) * Histogram: processing_duration_seconds (by context_type) - messaging-gateway (port 8101): Add comprehensive metrics * Counter: messages_sent_total (by platform, status) * Counter: nats_messages_received_total (by subject) * Counter: api_requests_total (by endpoint, status) * Histogram: request_duration_seconds (by endpoint) Update prometheus.yml with scrape targets for both services. All /metrics endpoints now return generate_latest() in Prometheus text format instead of JSON. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixes CRITICAL bugs in PR #361 - missing Prometheus metric definitions that would cause NameError at runtime. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Superseded by PR #433 (observability features now in merged branch) |
Summary: Grafana dashboards and Prometheus metrics for Tier 4 services
Changes:
Test Plan: Metrics display correctly in Grafana dashboards