Skip to content

feat(trino): capture query usage analytics - #1166

Merged
EDsCODE merged 1 commit into
mainfrom
codex/trino-posthog-usage
Sep 10, 2026
Merged

feat(trino): capture query usage analytics#1166
EDsCODE merged 1 commit into
mainfrom
codex/trino-posthog-usage

Conversation

@EDsCODE

@EDsCODE EDsCODE commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • capture terminal Trino query resource usage in existing PostHog query lifecycle events
  • poll from the janitor leader with in-process query-ID deduplication and no SQL capture
  • document Trino event fields and best-effort retention semantics

Testing

  • go test -count=1 -tags kubernetes ./controlplane
  • just lint (fails because unrelated untracked Iceberg integration tests reference a missing package)

@github-actions

Copy link
Copy Markdown

Test Impact Plan

Deterministic summary of how this PR changes tests, CI runners, and coverage-risk signals.

Summary

Area Added Changed Deleted
Test files 1 0 0
E2E/journey files 0 0 0
Workflow files 0 0 0

Signals

  • Test cases: +1 / -0
  • Assertions: +8 / -0
  • Skips or known failures added: 0
  • Workflow continue-on-error added: 0
  • Workflow path filters added: 0
  • Test commands removed from justfile: 0
  • E2E/journey retry lines added: 0

Coverage risk: neutral or increased

No coverage-reduction warnings detected.

@EDsCODE
EDsCODE marked this pull request as ready for review September 10, 2026 18:54
@EDsCODE
EDsCODE merged commit aeabfb2 into main Sep 10, 2026
36 checks passed
@EDsCODE
EDsCODE deleted the codex/trino-posthog-usage branch September 10, 2026 19:17
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