Skip to content

Commit b9f63a1

Browse files
thomasgoirandpriteau
authored andcommitted
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
1 parent 9fbe163 commit b9f63a1

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

etc/cloudkitty/metrics.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ metrics:
1414
extra_args:
1515
aggregation_method: mean
1616
resource_type: instance
17+
force_granularity: 300
1718

1819
image.size:
1920
unit: MiB
@@ -40,6 +41,7 @@ metrics:
4041
extra_args:
4142
aggregation_method: mean
4243
resource_type: volume
44+
force_granularity: 300
4345

4446
network.outgoing.bytes.rate:
4547
unit: MB
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
A new directive ``force_granularity: 300`` was added to the default
5+
``metrics.yml`` file for ``cpu`` and ``volume.size``, to match the defaults
6+
of ceilometer and avoid logging errors in ``cloudkitty-processor`` with the
7+
default setup.

0 commit comments

Comments
 (0)