selectable aggregate list should be explicitly de-duped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
Eoghan Glynn |
Bug Description
Repeated aggregate functions in a single statistics query are problematic.
For example, requesting count twice:
GET /v2/meters/
results in the count reported via the mongo driver being double the real value.
Worse, multiple references to cardinality results in a Nan being reported for the additional aggregate:
GET /v2/meters/
... "aggregate": {"cardinality/
Instead the aggregate list should be de-deduped in the API layer, as is the groupby list currently.
Changed in ceilometer: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in ceilometer: | |
milestone: | none → icehouse-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-rc1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/83511
Review: https:/