cloudkitty/releasenotes/notes/support-groupby-time-v2-summary-48ff5ad671f8c7c5.yaml
Luka Peschke 0d8a636755 Support grouping by timestamp in GET /v2/summary
Work items:

* Updated Elasticsearch and InfluxDB v2 storage backends in order to support
  grouping on time.

* Added a "dt_from_ts()" function to "cloudkitty.tzutils", along with unit
  tests. This function converts an epoch timestamp to a timezone-aware datetime
  object.

* Added unit tests for GET /v2/summary to validate grouping by time works as
  expected.

* Updated the API documentation.

Change-Id: Ia01fced0bdb3a9b389a89d56f02029b9456781c2
Story: 2006730
Task: 37153
2019-10-28 15:45:09 +01:00

7 lines
214 B
YAML

---
upgrade:
- |
It is now possible to group v2 summaries by timestamp. In order to do this,
the ``time`` parameter must be specified in the ``groupby`` list:
``cloudkitty summary get -g time,type``.