Current Series Release Notes

1.5.0-6

Bug Fixes

  • PrometheusAPIClient now 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 with Unrecognized schema in response body and hiding e.g. the PromQL parse error returned by Prometheus.

  • Fixed PromQLRbac.modify_query looping forever on queries with an invalid label section, e.g. an unclosed { like sum({ or a section without a label matcher. Such queries are now passed on and rejected by Prometheus.

  • Fixed PromQLRbac.modify_query for 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

  • PrometheusAPIClient now supports set_min_tls_version and set_max_tls_version to configure the TLS protocol version bounds used for HTTPS connections to Prometheus. Accepted values are 1.2 and 1.3, matching the spelling used by keystoneauth1’s tls_min_version.