Current Series Release Notes¶
1.5.0-6¶
Bug Fixes¶
PrometheusAPIClientnow reports the error message returned by the service when a request fails. When used with a keystoneauth session, keystoneauth raised its own exception first, replacing the message withUnrecognized schema in response bodyand hiding e.g. the PromQL parse error returned by Prometheus.
Fixed
PromQLRbac.modify_querylooping forever on queries with an invalid label section, e.g. an unclosed{likesum({or a section without a label matcher. Such queries are now passed on and rejected by Prometheus.
Fixed
PromQLRbac.modify_queryfor queries selecting metrics with a__name__matcher, e.g.count by (__name__)({__name__=~"ceilometer_(vcpus|cpu)"}). The project matcher was prepended to the whole query or injected into the quoted__name__value, which caused a parse error or an empty result. See bug 2175029.
1.5.0¶
New Features¶
PrometheusAPIClientnow supportsset_min_tls_versionandset_max_tls_versionto configure the TLS protocol version bounds used for HTTPS connections to Prometheus. Accepted values are1.2and1.3, matching the spelling used bykeystoneauth1’stls_min_version.