Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 31 additions & 26 deletions templates/cloudkitty/config/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ metrics:
unit: instance
alt_name: instance
groupby:
- id
- user_id
- resource
- user
- project
metadata:
- flavor_name
- flavor_id
- vcpus
mutate: NUMBOOL
extra_args:
aggregation_method: max
Expand All @@ -18,57 +16,64 @@ metrics:
unit: MiB
factor: 1/1048576
groupby:
- id
- user_id
- resource
- user
- project
metadata:
- container_format
- disk_format
extra_args:
aggregation_method: max

ceilometer_volume_size:
ceilometer_disk_ephemeral_size:
unit: GiB
groupby:
- resource
- user
- project
metadata:
- type
extra_args:
aggregation_method: max

ceilometer_disk_root_size:
unit: GiB
groupby:
- id
- user_id
- resource
- user
- project
metadata:
- volume_type
- type
extra_args:
aggregation_method: max

ceilometer_network_outgoing_bytes_rate:
unit: MB
ceilometer_network_outgoing_bytes:
unit: B
groupby:
- id
- resource
- project
- user_id
# Converting B/s to MB/h
factor: 3600/1000000
- user
metadata:
- instance_id
- vm_instance
extra_args:
aggregation_method: max

ceilometer_network_incoming_bytes_rate:
unit: MB
ceilometer_network_incoming_bytes:
unit: B
groupby:
- id
- resource
- project
- user_id
# Converting B/s to MB/h
factor: 3600/1000000
- user
metadata:
- instance_id
- vm_instance
extra_args:
aggregation_method: max

ceilometer_ip_floating:
unit: ip
groupby:
- id
- user_id
- resource
- user
- project
metadata:
- state
Expand Down