fn scalar_call(
context: &Context<'_>,
name: &str,
args: &[Box<Expr>],
) -> Result<Option<NativeNode>>Expand description
Binds time(), vector(s) and a date function called without an argument, or
returns None when the call is none of them.
A date function without an argument is f(vector(time())) in Prometheus, but it reads the
evaluation timestamp truncated to whole seconds rather than the float time() reports, so it is
bound as the evaluation time’s own date and then handed on as a vector.