Lines Matching refs:numericThresholds
329 crow::Response& res, NumericThresholds& numericThresholds, Context& ctx) in parseNumericThresholds() argument
332 if (numericThresholds.upperCritical) in parseNumericThresholds()
335 res, *numericThresholds.upperCritical, in parseNumericThresholds()
342 if (numericThresholds.upperWarning) in parseNumericThresholds()
345 res, *numericThresholds.upperWarning, in parseNumericThresholds()
352 if (numericThresholds.lowerWarning) in parseNumericThresholds()
355 res, *numericThresholds.lowerWarning, in parseNumericThresholds()
362 if (numericThresholds.lowerCritical) in parseNumericThresholds()
365 res, *numericThresholds.lowerCritical, in parseNumericThresholds()
435 NumericThresholds& numericThresholds, Context& ctx) in parseTriggerThresholds() argument
437 if (discreteTriggers && numericThresholds.any()) in parseTriggerThresholds()
448 if (numericThresholds.any()) in parseTriggerThresholds()
460 if (*ctx.metricType == MetricType::Discrete && numericThresholds.any()) in parseTriggerThresholds()
508 else if (numericThresholds.any()) in parseTriggerThresholds()
510 if (!parseNumericThresholds(res, numericThresholds, ctx)) in parseTriggerThresholds()
913 std::optional<nlohmann::json> numericThresholds = in fillTrigger() local
916 if (!numericThresholds) in fillTrigger()
924 json["NumericThresholds"] = *numericThresholds; in fillTrigger()