use the same type for all time_group_value values by ilyam8 · Pull Request #21528 · netdata/netdata

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.