aodh/doc/source/measurements.rst
Julien Danjou f3e7d2a611 network: do not emit counter on exists event, fix resource id
We only emit resource counters like "network.create" when the event is not
something like "network.exists", and we now emit it on the resource itself,
not on 'network'.

This fixes bug #1062949

Change-Id: Id36bc3818107bf7b806096b7aee670d7b18215a4
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-10-08 13:33:09 +02:00

5.3 KiB

Measurements

Three type of meters are defined in ceilometer:

double: meter; cumulative double: meter; gauge double: meter; delta

Type Definition
Cumulative Increasing over time (instance hours)
Gauge Discrete items (floating IPs, image uploads) and fluctuating values (disk I/O)
Delta Changing over time (bandwidth)

Here are the counter types by components that are currently implemented:

Compute (Nova)

Name Type Volume Resource Note
instance Gauge

1

inst ID Duration of instance
memory Gauge

MB

inst ID Volume of RAM in MB
vcpus Gauge

vcpu

inst ID Number of VCPUs
root_disk_size Gauge

GB

inst ID Size of root disk in GB
ephemeral_disk_size Gauge

GB

inst ID Size of ephemeral disk in GB
instance:type Gauge

1

inst ID Duration of instance type
disk.io.requests Cumulative request inst ID Number of disk io requests
disk.io.bytes Cumulative

bytes

inst ID Volume of disk io in bytes
cpu Cumulative seconds inst ID CPU time used
network.incoming.bytes Cumulative

bytes

inst ID number of incoming bytes on the network
network.outgoing.bytes Cumulative

bytes

inst ID number of outgoing bytes on the network
network.incoming.packets Cumulative packets inst ID number of incoming packets
network.outgoing.packets Cumulative packets inst ID number of outgoing packets

Network (Quantum)

Name Type Volume Resource Note

network network.create network.update network.exists

Gauge Gauge Gauge Gauge

1 1 1 1

netw ID netw ID netw ID netw ID

Duration of network

subnet subnet.create subnet.update subnet.exists

Gauge Gauge Gauge Gauge

1 1 1 1

subnt ID subnt ID subnt ID subnt ID

Duration of subnet

port port.create port.update port.exists

Gauge Gauge Gauge Gauge

1 1 1 1

port ID port ID port ID port ID

Duration of port

floating_ip Gauge

1

ip ID Duration of floating ip

Image (Glance)

Name Type Volume Resource Note
image Gauge

1

image ID Image polling -> it (still) exists
image_size Gauge

bytes

image ID Uploaded image size
image_download Gauge

bytes

image ID Image is downloaded
image_serve Gauge

bytes

image ID Image is served out

Volume (Cinder)

Name Type Volume Resource Note
volume Gauge

1

vol ID Duration of volune
volume_size Gauge

GB

vol ID Size of volume