pub fn error_trend( pool: &DbPool, error_id: i64, hours: i64, ) -> Result<Vec<ErrorTrendPoint>>
Get hourly error occurrence counts for a specific error (for trend sparklines)