doc: https://grafana.com/docs/loki/latest/logql/metric_queries/#functions
LogQL supports a set of built-in functions.
vector(s scalar): returns the scalar s as a vector with no labels. This behaves identically to the Prometheus vector() function. vector is mainly used to return a value for a series that would otherwise return nothing; this can be useful when using LogQL to define an alert.
Grammar: Add Vector(scalar)
fix vector(5) error.
doc: https://grafana.com/docs/loki/latest/logql/metric_queries/#functions LogQL supports a set of built-in functions.
vector(s scalar)
: returns the scalar s as a vector with no labels. This behaves identically to the Prometheus vector() function. vector is mainly used to return a value for a series that would otherwise return nothing; this can be useful when using LogQL to define an alert.grafana pr: https://github.com/grafana/grafana/pull/63994 error snapshot.