Most changes can be seen on the PrometheusClient class inside cloudkitty/collector/prometheus.py: The client can now be constructed with extra options in order to: * enable/disable custom CA file * enable/disable SSL certificate check for trust * provide credentials for HTTP basic authentication PrometheusCollector has new configuration options: * prometheus_url: Prometheus service URL * prometheus_user: Prometheus user (for basic auth only) * prometheus_password: Prometheus password (for basic auth only) * cafile: Custom certificate authority file path * insecure: Explicitly trust untrusted HTTPS responses At instantiation, PrometheusCollector now builds the client with the proper configuration options as described earlier. Change-Id: I08acc4860e8041f56ebb40f976cb951042814ca4 Story: 2004974 Task: 29429
7 lines
174 B
YAML
7 lines
174 B
YAML
---
|
|
features:
|
|
- |
|
|
Prometheus collector now supports HTTPS with custom CA file,
|
|
an insecure option to allow untrusted certificate
|
|
and basic HTTP authentication.
|