Set force_granularity: 300 in metrics.yml
It appears that the default metrics.yml needs force_granularity: 300 otherwise cloudkitty-processor will fail to process metrics from Gnocchi. As this is what at least I (in Debian) ship in packages, it would be nice to have a working default. Change-Id: I28b43d6131182252c0576d9323bbcdbfb1dbbd0a Story: 2008598 Task: 41771
This commit is contained in:
parent
9fbe163f51
commit
b9f63a1ae2
@ -14,6 +14,7 @@ metrics:
|
|||||||
extra_args:
|
extra_args:
|
||||||
aggregation_method: mean
|
aggregation_method: mean
|
||||||
resource_type: instance
|
resource_type: instance
|
||||||
|
force_granularity: 300
|
||||||
|
|
||||||
image.size:
|
image.size:
|
||||||
unit: MiB
|
unit: MiB
|
||||||
@ -40,6 +41,7 @@ metrics:
|
|||||||
extra_args:
|
extra_args:
|
||||||
aggregation_method: mean
|
aggregation_method: mean
|
||||||
resource_type: volume
|
resource_type: volume
|
||||||
|
force_granularity: 300
|
||||||
|
|
||||||
network.outgoing.bytes.rate:
|
network.outgoing.bytes.rate:
|
||||||
unit: MB
|
unit: MB
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
A new directive ``force_granularity: 300`` was added to the default
|
||||||
|
``metrics.yml`` file for ``cpu`` and ``volume.size``, to match the defaults
|
||||||
|
of ceilometer and avoid logging errors in ``cloudkitty-processor`` with the
|
||||||
|
default setup.
|
Loading…
Reference in New Issue
Block a user