Skip to content

feat(core): add Postgres query observability - #126

Closed
BK1031 wants to merge 3 commits into
bk1031/analytics-query-hardeningfrom
bk1031/postgres-observability
Closed

feat(core): add Postgres query observability#126
BK1031 wants to merge 3 commits into
bk1031/analytics-query-hardeningfrom
bk1031/postgres-observability

Conversation

@BK1031

@BK1031 BK1031 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor
  • Expose authenticated Prometheus metrics for analytics request and database query latency
  • Add bounded operation labels and configurable slow-query monitoring without logging SQL values
  • Enable and verify pg_stat_statements when query statistics are configured
  • Configure the local PostgreSQL 18 service with required preload and query ID settings
  • Add race-tested coverage for database metric label classification

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T20:02:05.272021Z 5149442 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5149442022

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread core/api/api.go
@BK1031
BK1031 force-pushed the bk1031/postgres-observability branch from 5149442 to 9a7d04e Compare August 31, 2026 20:10
@BK1031
BK1031 force-pushed the bk1031/analytics-query-hardening branch from 9bfbdfa to 7d4716f Compare August 31, 2026 20:10
@BK1031
BK1031 force-pushed the bk1031/analytics-query-hardening branch from 7d4716f to d958722 Compare August 31, 2026 20:20
@BK1031
BK1031 force-pushed the bk1031/postgres-observability branch from 9a7d04e to 1e65726 Compare August 31, 2026 20:20
@BK1031 BK1031 closed this Aug 31, 2026
@BK1031
BK1031 deleted the bk1031/postgres-observability branch August 31, 2026 20:53
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