cloudkitty/releasenotes/notes
Pierre Riteau a536880431 Raise CollectError when Prometheus query returns an error
As described in the Prometheus HTTP API documentation [1], the JSON
response to a Prometheus query includes a status field, which was
ignored by CloudKitty. If it is set to "error", raise a CollectError
exception to log the error type and details.

For example, a query with a metric name containing a dot will produce
the following error:

    cloudkitty.collector.exceptions.CollectError: bad_data: invalid parameter "query": 1:25: parse error: unexpected character: '.'

[1] https://prometheus.io/docs/prometheus/latest/querying/api/

Change-Id: I0c2892a39ec50163de251b38d34493db6a22c858
Story: 2009869
Task: 44564
2022-02-22 12:13:37 +01:00
..
add-dataframe-datapoint-objects-a5a4ac3db5289cb6.yaml Add DataPoint/DataFrame objects 2019-08-22 07:39:01 +00:00
add-dataframes-v2-api-endpoint-601825c344ba0e2d.yaml Add a v2 API endpoint to push DataFrame objects 2019-08-26 08:37:32 +00:00
add-gnocchi-fetcher-b8a6e2ea49fcfec5.yaml Add a gnocchi fetcher 2018-09-05 10:52:03 +02:00
add-influx-storage-backend-3ace5b451e789e64.yaml Adding an InfluxDB storage backend 2018-12-11 14:32:55 +01:00
add-prometheus-fetcher-be6082f70f279f0e.yaml Implement Prometheus fetcher 2019-04-17 12:18:51 +00:00
add-re-aggregation-method-option-gnocchi-collector-249917a14c4fc721.yaml Allow reaggregation method to be specified in the gnocchi collector 2019-12-03 10:39:50 +00:00
add-scope-key-58135c2a5c6dae68.yaml Skip a cycle instead of retrying if a metric is not found in gnocchi 2019-03-21 14:29:01 +01:00
add-storage-state-v2-api-endpoint-45a29d0b44e177b8.yaml Add a v2 API endpoint to get scope state 2019-05-22 16:25:32 +02:00
add-storage-state-v2-api-endpoint-492d7092e85ed7b1.yaml Add a v2 API endpoint to reset the state of different scopes 2019-07-18 08:05:50 +00:00
add-tempest-plugin-3584e1918f344fb2.yaml Add a tempest plugin gate job 2017-11-18 13:30:54 +01:00
add-v2-storage-driver-for-elasticsearch-ec41cbb7849e82d3.yaml Add an ElasticSearch v2 storage driver 2019-09-13 15:29:40 +02:00
added-forced-granularity-gnocchi-d52e988194197248.yaml Add a "force_granularity" option to gnocchi collector's extra_args 2019-09-12 11:23:44 +00:00
added-v2-api-1ef829355c2feea4.yaml Bootstrap the v2 API 2019-04-01 13:52:04 +02:00
admin-or-owner-policy-c666346da4405d13.yaml Add release note for admin_or_owner policy fix 2021-04-09 12:48:46 +02:00
change-metrology-organization-1e11900eb30780cc.yaml Allow Cloudkitty to collect non-OpenStack metrics 2018-04-17 11:55:37 +02:00
check-duplicates-metadata-groupby-d5ee99941bb483fd.yaml Check for duplicates in "groupby" and "metadata" for each metric 2019-11-27 14:48:19 +01:00
collector-monasca-f0871406513ff22c.yaml Add a collector for Monasca 2017-10-27 14:53:01 +02:00
create-use_all_entries_for_timespan-option-for-gnocchi-collector-39d29603b1f554e1.yaml Create 'use_all_resource_revisions' for Gnocchi collector 2020-11-20 08:36:50 -03:00
custom-gnocchi-query-a391f5e83d55d771.yaml Custom query Gnocchi collector 2021-07-26 15:11:58 +02:00
default-to-v2-storage-a5ecac7e73dafa6d.yaml Change the default storage backend to v2/influxdb 2019-02-05 11:45:57 +00:00
deprecate_section_name-9f1ce1f84d09adf8.yaml Change configuration section names 2018-10-15 10:47:11 +02:00
deprecate-ceilometer-collector-6d8f72c84b95662b.yaml Deprecate the ceilometer collector 2018-01-25 22:56:12 +01:00
deprecate-collector-mappings-5a69b31c8037fc01.yaml Deprecate collector mappings 2018-03-07 12:16:50 +01:00
deprecate-info-services-endpoints-0c5018cb08a30d5f.yaml Allow Cloudkitty to collect non-OpenStack metrics 2018-04-17 11:55:37 +02:00
deprecate-json-formatted-policy-file-01ceb65712fd0a39.yaml [goal] Deprecate the JSON formatted policy file 2020-12-22 18:49:31 -06:00
deprecate-report-total-62544dce42bb19a6.yaml Deprecate /v1/report/total endpoint 2018-03-07 11:45:40 +01:00
drop-py-2-7-fcf8c0613a7bffa8.yaml [ussuri][goal] Drop python 2.7 support and testing 2019-11-16 14:35:39 +00:00
fetch-metrics-concurrently-dffffe346bd4900e.yaml Retrieve metrics in eventlet greenthreads 2019-04-18 14:49:52 +00:00
fix-begin-end-validation-v2-summary-52401fb47ef9b5d6.yaml Fix validation of begin/end in GET /v2/summary endpoint 2019-08-30 15:22:33 +02:00
fix-csv-usage-end-7bcf4cb5effc4461.yaml Fix UsageEnd in CSV reports 2017-12-19 12:13:40 +01:00
fix-dataframe-filtering-282cae643457bb8b.yaml Allow reaggregation method to be specified in the gnocchi collector 2019-12-03 10:39:50 +00:00
fix-gnocchi-metadata-collection-74665e862483a383.yaml Fix gnocchi collector metadata collection 2019-02-13 16:36:54 +00:00
fix-hashmap-mapping-value-match-56570510203ce3e5.yaml Fix HashMap field mapping comparison 2019-03-26 17:24:00 +01:00
fix-lock-release-74d112c8599c9a59.yaml Don't heartbeat manually in the cloudkitty orchestrator 2018-11-06 15:51:54 +01:00
fix-project-id-none-d40df33fc7b7db23.yaml Fix 500 errors in the API when request context bears no project_id 2019-11-26 14:33:39 +01:00
fix-quote-v1-api-7282f01b596f0f3b.yaml Fix quote API 2021-12-13 15:08:05 +01:00
fix-scope-state-reset-filters-0a1f5ea503bd32a1.yaml Fix call to storage.delete() in ScopeEndpoint RPC endpoint 2019-08-08 10:55:39 +02:00
fix-url-building-do-init-7c952afaf6d909cd.yaml Allow missing '/' in api.v2.utils.do_init() 2019-09-25 10:27:42 +02:00
fix-v1-storage-groupby-e865d1315bd390cb.yaml Fix sqlalchemy grouping on v1 storage 2019-06-04 15:28:08 +02:00
force-project-id-monasca-collector-cb30ed073d36d40e.yaml Add an option for the metric project to the Monasca collector 2019-07-04 11:58:59 +00:00
get-dataframes-v2-api-endpoint-3a4625c6008a5fca.yaml Add a v2 API endpoint to retrieve DataFrame objects 2019-09-13 10:04:01 +02:00
harden-dataframes-policy-7786286525e52dfb.yaml Update the default policy rule for /v1/storage/dataframes 2019-04-02 11:59:49 +02:00
ignore_disabled_tenants-and-ignore_rating_role-dfe542a0cafd412e.yaml Adding two options in fetcher_keystone 2021-11-29 22:27:52 +01:00
improve-metrics-configuration-271102366f8e6fe7.yaml Improve metrics configuration 2018-06-28 11:19:51 +00:00
introduce-active-status-field-cdfecd27c2bb9a42.yaml Add active status fields in the storage state table 2021-10-06 16:23:07 -03:00
introduce-bandit-security-linter-592faa26f957a3dd.yaml Add bandit for security static analysis and fix potential security issues 2019-03-25 16:26:05 +00:00
introduce-cloudkitty.utils-792b9080537405bf.yaml Introduce cloudkitty.utils 2019-11-25 16:55:02 +01:00
make-cloudkitty-timezone-aware-2b65edc42e913d6c.yaml Make cloudkitty timezone-aware 2019-07-29 11:56:10 +02:00
make-gnocchi-http-max-connections-pool-configurable-52c9f6617466ea30.yaml Make Gnocchi connection pool configurable 2020-09-10 16:50:51 +02:00
make-processor-run-several-workers-02597b0f77687ef3.yaml Make cloudkitty-processor run several workers 2019-04-15 12:45:38 +00:00
monasca-fetcher-2ea866f873ab5336.yaml Add a Monasca fetcher 2020-09-09 15:09:09 -03:00
multiple_values_filter_summary_get_v2_api-1110373a900fad0d.yaml Add support for multiple value filters 2021-12-13 10:01:18 +01:00
new-forcegranularity-default-b8aaf7d7823aef3b.yaml Set force_granularity: 300 in metrics.yml 2021-09-06 16:22:19 +02:00
notnumbool-mutator-ab056e86f2bc843d.yaml Add the NOTNUMBOOL mutator 2021-03-09 17:19:41 +01:00
prometheus-collector-empty-meta-12402d8f0254c011.yaml Fix empty metadata exception in Prometheus collector 2020-09-09 15:18:36 +02:00
prometheus-collector-mutate-8da4748b4d1f0b59.yaml Add quantity mutation to Prometheus collector 2020-09-09 15:10:11 +02:00
prometheus-custom-query-ab2dc00e97b14be2.yaml Support customising Prometheus queries 2022-01-10 15:20:29 +01:00
prometheus-error-8eab9f1793c2280c.yaml Raise CollectError when Prometheus query returns an error 2022-02-22 12:13:37 +01:00
raise-exception-on-invalid-config-0aece71caa0947fa.yaml Raise an exception in case of an invalid configuration file 2019-11-27 14:48:13 +01:00
refactor-storage-e5453296e477e594.yaml Refactor the storage backend 2018-01-26 15:46:57 +00:00
register-keystone-opts-with-keystoneauth-functions-monasca-collector-1a539fc8c23e9dbc.yaml Register keystone auth options with keystoneauth1 helper functions 2019-09-24 15:15:05 +02:00
remove-ceilometer-collector-b310bf6c5736c88a.yaml Remove Ceilometer collector and transformer 2018-03-07 09:14:02 +00:00
remove-dateutil-tz-utc-usage-1350c00be3fadde7.yaml Replace tz.UTC with dateutil.tz.tzutc() 2020-08-21 15:58:38 +02:00
remove-deprecated-api-endpoints-26606e322b8a225e.yaml Remove deprecated APIs and method in cloudkitty 2017-11-29 09:50:18 +00:00
remove-deprecated-config-section-names-9a125b1af0932c08.yaml Remove deprecated config section names 2019-09-24 14:32:48 +02:00
remove-deprecated-storage-backends-158fbec099846ec7.yaml Remove gnocchi and gnocchihybrid storage 2018-03-06 11:46:06 +01:00
remove-fake-fetcher-9c264520a3cec9d0.yaml Remove the fake fetcher 2019-01-30 10:20:44 +00:00
remove-fake-meta-collectors-5ed94ab1165e9661.yaml Remove the fake and meta collectors 2019-01-31 12:39:43 +00:00
remove-gnocchi-transformer-1dad750b9ba6c2e4.yaml Remove the gnocchi transformer 2019-01-30 10:20:32 +00:00
remove-transformers-8d9949ed3088b055.yaml Remove transformers from the codebase 2019-09-10 14:51:02 +00:00
remove-v2-gnocchi-storage-a83bd58008bfd92e.yaml Delete v2 gnocchi storage 2019-02-01 16:53:05 +01:00
replace-eventlet-with-futurist-60f1fe6474a5efcf.yaml Replace eventlet with futurist 2019-09-12 14:08:28 +00:00
response_format-v2-summary-api-270facdb01d9202b.yaml Introduce "response_format" for the V2 summary API 2021-12-02 12:56:37 +00:00
rework-prometheus-collector-02bd6351d447e4fe.yaml Change configuration schema and query process for Prometheus collector 2019-03-21 16:47:47 +00:00
rework-prometheus-collector-f9f34a3792888dad.yaml Update admin documentation for Prometheus collector 2019-03-22 09:04:46 +00:00
skip-period-if-nonexistent-metric-ba56a671e68f5bf5.yaml Skip a cycle instead of retrying if a metric is not found in gnocchi 2019-03-21 14:29:01 +01:00
source-fetcher-43c4352508f7f944.yaml Allow Cloudkitty to collect non-OpenStack metrics 2018-04-17 11:55:37 +02:00
status-upgrade-check-fdcf054643e071d8.yaml Support upgrade checks 2019-02-04 08:42:21 +00:00
support-cross-tenant-metric-submission-monasca-collector-508b495bc88910ca.yaml Support cross-tenant metrics in monasca collector 2019-10-25 09:13:32 +00:00
support-groupby-time-v2-summary-48ff5ad671f8c7c5.yaml Support grouping by timestamp in GET /v2/summary 2019-10-28 15:45:09 +01:00
use-interface-param-endpoint-discovery-monasca-collector-7477e86cd7e5acf4.yaml Use "interface" option for monasca endpoint discovery 2019-10-09 16:34:37 +02:00