Skip to content

Commit

Permalink
feat: prometheus provider should evaluate expression before running q…
Browse files Browse the repository at this point in the history
…uery

Signed-off-by: nliesenfeld <[email protected]>
  • Loading branch information
liesenfeldn committed Dec 13, 2024
1 parent 698fd78 commit 9deb8a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/analysis/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ you validate your [PromQL expression](https://prometheus.io/docs/prometheus/late
See the [Analysis Overview page](../../features/analysis) for more details on the available options.
## Query expression evaluation
There are some cases in which you will want to be able to handle multiple different cases in the same template. For those cases, first the string in the `Query` field is evaluated as expression before the result then runs in prometheus.

For example:
Expand Down

0 comments on commit 9deb8a7

Please sign in to comment.