File: add-force-granularity-300-for-cpu.patch

package info (click to toggle)
cloudkitty 13.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,888 kB
  • sloc: python: 16,997; sh: 372; makefile: 218; pascal: 54
file content (16 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Add force_granularity: 300 for the CPU metrics
 Without this, the cloudkitty-processor doesn't process anything.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: https://review.opendev.org/c/openstack/cloudkitty/+/777379
Last-Update: 2021-02-24

--- cloudkitty-13.0.0.orig/etc/cloudkitty/metrics.yml
+++ cloudkitty-13.0.0/etc/cloudkitty/metrics.yml
@@ -14,6 +14,7 @@ metrics:
     extra_args:
       aggregation_method: mean
       resource_type: instance
+      force_granularity: 300
 
   image.size:
     unit: MiB