mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
* promtool: Calculate mint and maxt per test Previously a single test that used a later eval time would make all other tests in the file share the [mint, maxt] and potentially evaluate far more samples than needed. Fixes: #8019 Signed-off-by: David Leadbeater <dgl@dgl.cx>
15 lines
330 B
YAML
15 lines
330 B
YAML
rule_files:
|
|
- bad-rules-error.yml
|
|
|
|
tests:
|
|
- input_series:
|
|
- series: 'join_1{a="1",b="2"}'
|
|
values: 1
|
|
- series: 'join_2{a="1",b="3"}'
|
|
values: 2
|
|
- series: 'join_2{a="1",b="4"}'
|
|
values: 3
|
|
|
|
# Just the existance of the data, that can't be joined, makes the recording
|
|
# rules error.
|