Skip to content

[fix] validate the metric history query inputs - #4274

Open
Duansg wants to merge 2 commits into
apache:masterfrom
Duansg:fix-metric-history-injection
Open

[fix] validate the metric history query inputs#4274
Duansg wants to merge 2 commits into
apache:masterfrom
Duansg:fix-metric-history-injection

Conversation

@Duansg

@Duansg Duansg commented Jul 29, 2026

Copy link
Copy Markdown
Member

What's changed?

Validate the time range and identifier format of metric history queries in the service layer, covering every storage implementation.

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

@zqr10159 zqr10159 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed against the 1.9.0 pre-release metric-history injection findings. Service-layer allowlists cover range, identifiers, and instance values before any storage query is built. The focused local suite passes (7 tests) and CI is green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants