Merge "Update the default metrics.yml file"

This commit is contained in:
Zuul 2019-04-02 10:43:51 +00:00 committed by Gerrit Code Review
commit 11cb7d3636

View File

@ -4,9 +4,10 @@ metrics:
alt_name: instance
groupby:
- id
- user_id
- project_id
metadata:
- flavor
- flavor_name
- flavor_id
- vcpus
mutate: NUMBOOL
@ -19,6 +20,7 @@ metrics:
factor: 1/1048576
groupby:
- id
- user_id
- project_id
metadata:
- container_format
@ -31,6 +33,7 @@ metrics:
unit: GiB
groupby:
- id
- user_id
- project_id
metadata:
- volume_type
@ -38,24 +41,28 @@ metrics:
aggregation_method: mean
resource_type: volume
network.outgoing.bytes:
network.outgoing.bytes.rate:
unit: MB
groupby:
- id
- project_id
factor: 1/1000000
- user_id
# Converting B/s to MB/h
factor: 3600/1000000
metadata:
- instance_id
extra_args:
aggregation_method: mean
resource_type: instance_network_interface
network.incoming.bytes:
network.incoming.bytes.rate:
unit: MB
groupby:
- id
- project_id
factor: 1/1000000
- user_id
# Converting B/s to MB/h
factor: 3600/1000000
metadata:
- instance_id
extra_args:
@ -66,6 +73,7 @@ metrics:
unit: ip
groupby:
- id
- user_id
- project_id
metadata:
- state
@ -78,6 +86,7 @@ metrics:
unit: GiB
groupby:
- id
- user_id
- project_id
factor: 1/1073741824
extra_args: