network: fix create/update counter type & doc
Change-Id: I96e662663c8d14a6d841746033be0b57d23ee9ee Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
919b907bda
commit
a725f64f3c
@ -86,7 +86,7 @@ class NetworkNotificationBase(plugin.NotificationBase):
|
||||
if network_counter_name != self.resource_name:
|
||||
yield counter.Counter(source='?',
|
||||
name=network_counter_name,
|
||||
type=counter.TYPE_GAUGE,
|
||||
type=counter.TYPE_DELTA,
|
||||
volume=1,
|
||||
user_id=message['_context_user_id'],
|
||||
project_id=message['payload']['tenant_id'],
|
||||
|
@ -64,17 +64,14 @@ Network (Quantum)
|
||||
Name Type Volume Resource Note
|
||||
======================== ========== ======= ======== =======================================================
|
||||
network Gauge 1 netw ID Duration of network
|
||||
network.create Gauge 1 netw ID
|
||||
network.update Gauge 1 netw ID
|
||||
network.exists Gauge 1 netw ID
|
||||
network.create Delta request netw ID Creation requests for this network
|
||||
network.update Delta request netw ID Update requests for this network
|
||||
subnet Gauge 1 subnt ID Duration of subnet
|
||||
subnet.create Gauge 1 subnt ID
|
||||
subnet.update Gauge 1 subnt ID
|
||||
subnet.exists Gauge 1 subnt ID
|
||||
subnet.create Delta request subnt ID Creation requests for this subnet
|
||||
subnet.update Delta request subnt ID Update requests for this subnet
|
||||
port Gauge 1 port ID Duration of port
|
||||
port.create Gauge 1 port ID
|
||||
port.update Gauge 1 port ID
|
||||
port.exists Gauge 1 port ID
|
||||
port.create Delta request port ID Creation requests for this port
|
||||
port.update Delta request port ID Update requests for this port
|
||||
floating_ip Gauge 1 ip ID Duration of floating ip
|
||||
======================== ========== ======= ======== =======================================================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user