Skip to content

feat(hardened): Observability and metrics for Tier 4 services - #406

Closed
POWERFULMOVES wants to merge 3 commits into
PMOVES.AI-Edition-Hardenedfrom
feat/hardened-observability
Closed

POWERFULMOVES wants to merge 3 commits into
PMOVES.AI-Edition-Hardenedfrom
feat/hardened-observability

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

Summary: Grafana dashboards and Prometheus metrics for Tier 4 services

Changes:

  • cad99bb: Grafana dashboards for Tier 4 services
  • 769a938: Prometheus metrics to Tier 4 services
  • 6532c34: Missing Prometheus metric definitions fix

Test Plan: Metrics display correctly in Grafana dashboards

POWERFULMOVES and others added 3 commits January 1, 2026 17:41
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>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Superseded by PR #433 (observability features now in merged branch)

@POWERFULMOVES
POWERFULMOVES deleted the feat/hardened-observability branch January 3, 2026 15:33
@POWERFULMOVES
POWERFULMOVES restored the feat/hardened-observability branch January 3, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant