prometheus/model
Oleg Zaytsev c8bce5d8c5
When cleaning up the only element, make a nop.
We can't remove the only Sub from regexp, since the contract for some
operations says that there's at least one Sub, like OpStar or OpPlus.

In order to convert a single-sub element into a no-op, we change the
operation to OpEmptyString.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2022-05-17 17:49:19 +02:00
..
exemplar Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
labels When cleaning up the only element, make a nop. 2022-05-17 17:49:19 +02:00
relabel Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
rulefmt Introduce evaluation delay for rule groups (#155) 2022-03-14 13:20:07 +00:00
textparse Fix OpenMetrics parser to sort uppercase labels correctly. (#10510) 2022-03-31 20:18:53 +02:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00