Ask Your Question

how can i meter instance's traffic?

asked 2016-08-22 00:48:29 -0500

KotoriChannn gravatar image

Hi there.

I want to meter each instance's traffic usage. and also want to set traffic usage limit of them. for example, when the traffic limit is 100GB, network connection pause if instance use over 100GB.

I think ceilometer will do this function, but not sure.

Need help. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-08-22 03:26:51 -0500

yprokule gravatar image

Indeed ceilometer is able to retrieve next meters:

network.incoming.bytes - Number of incoming bytes
network.outgoing.bytes - Number of outgoing bytes

But ceilometer cannot pause the instance(or smth like that) on its own.

Though U can create alarm on the aforementioned meters that can notify some http endpoint which can trigger specific actions.

More info about supported meters:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-08-22 00:48:29 -0500

Seen: 220 times

Last updated: Aug 22 '16