Skip to content

Conversation

@ilyam8
Copy link
Member

@ilyam8 ilyam8 commented Jan 9, 2026

Summary
Test Plan
Additional Information
For users: How does this change affect me?

Summary by cubic

Standardized the health alert schema to use the 'number' type for time_group_value in all cases. This fixes validation mismatches and allows decimal values for trim and percentage groups.

Written for commit 158877b. Summary will update on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes the JSON schema type definition for time_group_value fields from "integer" to "number" across all conditional schemas in the health alert prototype configuration. This ensures consistency and allows for fractional values where appropriate (e.g., percentiles like 95.5 or trim percentages like 2.5%).

  • Standardizes type definitions across all time_group_value fields to use "number" instead of "integer"
  • Aligns three conditional schemas (trimmed-mean, trimmed-median, percentile) with the existing "countif" schema that already used "number"
  • Enables more precise configuration of alert thresholds and statistical calculations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ilyam8 ilyam8 merged commit d9fe0b9 into netdata:master Jan 9, 2026
121 checks passed
@ilyam8 ilyam8 deleted the fix-health-dyncfg-time_group_value-number branch January 9, 2026 11:40
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Jan 9, 2026
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Jan 9, 2026
@stelfrag stelfrag mentioned this pull request Jan 9, 2026
Ferroin pushed a commit that referenced this pull request Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants