Werk #15641 · Sep 10, 23
Prometheus: Properly Encode PromQL Queries
The Prometheus agent allows specifying PromQL queries via the option Service creation using PromQL queries. In 2.2.0, any query containing a '+' would not be encoded properly. For example, the query
up{container=".+"}
would result in a HTTP request, which is interpreted by Prometheus as
up{container=". "}
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.3.0b1CommunityProUltimateUltimate + MT
- 2.2.0p10CommunityProUltimateUltimate + MT