Merge "Make LBaaS total_connections cumulative"
This commit is contained in:
commit
e3d6921715
@ -281,7 +281,7 @@ class LBTotalConnectionsPollster(_LBStatsPollster):
|
||||
return make_sample_from_pool(
|
||||
pool,
|
||||
name='network.services.lb.total.connections',
|
||||
type=sample.TYPE_GAUGE,
|
||||
type=sample.TYPE_CUMULATIVE,
|
||||
unit='connection',
|
||||
volume=data.total_connections,
|
||||
)
|
||||
|
@ -486,7 +486,7 @@ class TestLBStatsPollster(_BaseTestLBPollster):
|
||||
def test_lb_total_connections(self):
|
||||
self._check_get_samples(lbaas.LBTotalConnectionsPollster,
|
||||
'network.services.lb.total.connections',
|
||||
4L, 'gauge')
|
||||
4L, 'cumulative')
|
||||
|
||||
def test_lb_active_connections(self):
|
||||
self._check_get_samples(lbaas.LBActiveConnectionsPollster,
|
||||
|
@ -341,7 +341,7 @@ network.services.lb.pool Gauge pool pool ID p
|
||||
network.services.lb.vip Gauge vip vip ID pollster Existence of a LB Vip
|
||||
network.services.lb.member Gauge member member ID pollster Existence of a LB Member
|
||||
network.services.lb.health_monitor Gauge monitor monitor ID pollster Existence of a LB Health Probe
|
||||
network.services.lb.total.connections Gauge connection pool ID pollster Total connections on a LB
|
||||
network.services.lb.total.connections Cumulative connection pool ID pollster Total connections on a LB
|
||||
network.services.lb.active.connections Gauge connection pool ID pollster Active connections on a LB
|
||||
network.services.lb.incoming.bytes Cumulative B pool ID pollster Number of incoming Bytes
|
||||
network.services.lb.outgoing.bytes Cumulative B pool ID pollster Number of outgoing Bytes
|
||||
|
Loading…
x
Reference in New Issue
Block a user