Skip to content

Default query response time to P999 - #182

Draft
Areson wants to merge 1 commit into
mainfrom
Areson/query-response-time-p999
Draft

Default query response time to P999#182
Areson wants to merge 1 commit into
mainfrom
Areson/query-response-time-p999

Conversation

@Areson

@Areson Areson commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Why

The query.response-time documentation promises P999 when no metrics are configured, but an empty list currently fails collector preparation. Invalid percentile names can also survive configuration and fail later during collection.

What

  • Default omitted percentile metrics to p999 during collector preparation
  • Validate the documented pN format and range before constructing queries
  • Add unit and MySQL 8.0 integration coverage for defaulting and validation

Risk Assessment

Low — the change is isolated to query.response-time preparation. Existing valid explicit metrics are unchanged, while invalid configurations fail earlier with an actionable error.

References

Closes #132

Generated with Codex

Apply the documented percentile default during collector preparation and reject invalid percentile metrics before collection. Add unit and MySQL 8.0 integration coverage.

Co-authored-by: Codex <noreply@openai.com>
Ai-assisted: true
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.

query.response-time doesn't default to collecting P999

1 participant