Guest User

metrics.yml

a guest
Nov 8th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. metrics:
  2. cpu:
  3. unit: instance
  4. alt_name: instance
  5. groupby:
  6. - id
  7. - user_id
  8. - project_id
  9. metadata:
  10. - flavor_name
  11. - flavor_id
  12. - vcpus
  13. mutate: NUMBOOL
  14. extra_args:
  15. aggregation_method: mean
  16. resource_type: instance
  17.  
  18. image.size:
  19. unit: MiB
  20. factor: 1/1048576
  21. groupby:
  22. - id
  23. - user_id
  24. - project_id
  25. metadata:
  26. - container_format
  27. - disk_format
  28. extra_args:
  29. aggregation_method: mean
  30. resource_type: image
  31.  
  32. volume.size:
  33. unit: GiB
  34. groupby:
  35. - id
  36. - user_id
  37. - project_id
  38. metadata:
  39. - volume_type
  40. extra_args:
  41. aggregation_method: mean
  42. resource_type: volume
  43.  
  44. network.outgoing.bytes.rate:
  45. unit: MB
  46. groupby:
  47. - id
  48. - project_id
  49. - user_id
  50. # Converting B/s to MB/h
  51. factor: 3600/1000000
  52. metadata:
  53. - instance_id
  54. extra_args:
  55. aggregation_method: mean
  56. resource_type: instance_network_interface
  57.  
  58. network.incoming.bytes.rate:
  59. unit: MB
  60. groupby:
  61. - id
  62. - project_id
  63. - user_id
  64. # Converting B/s to MB/h
  65. factor: 3600/1000000
  66. metadata:
  67. - instance_id
  68. extra_args:
  69. aggregation_method: mean
  70. resource_type: instance_network_interface
  71.  
  72. ip.floating:
  73. unit: ip
  74. groupby:
  75. - id
  76. - user_id
  77. - project_id
  78. metadata:
  79. - state
  80. mutate: NUMBOOL
  81. extra_args:
  82. aggregation_method: mean
  83. resource_type: network
  84.  
  85. radosgw.objects.size:
  86. unit: GiB
  87. groupby:
  88. - id
  89. - user_id
  90. - project_id
  91. factor: 1/1073741824
  92. extra_args:
  93. aggregation_method: mean
  94. resource_type: ceph_account
Add Comment
Please, Sign In to add comment