| 12345678910111213141516171819202122232425262728293031 |
- SELECT
- id,
- prom.date('2024-11-28').unit('max','1h')
- FROM
- /test/bucketpromdb
- /**
- output()
- **/
- ;
- SELECT
- id,
- prom.date('2024-11-28').max().min().count()
- FROM
- /test/bucketpromdb where prom.date('2024-11-28').max().min().count().assert($3 > 10)
- /**
- output()
- **/
- ;
- SELECT
- id,
- prom.date('2024-11-28').max().min().count()
- FROM
- /test/bucketpromdb where prom.date('2024-11-28').max().min().count().assert(max > 2.5)
- /**
- output()
- **/
- ;
|