Matthias Runge Senior Software Engineer Nov 07, 2017
Monitoring performance of your OpenStack environment Matthias Runge - - PowerPoint PPT Presentation
Monitoring performance of your OpenStack environment Matthias Runge - - PowerPoint PPT Presentation
Monitoring performance of your OpenStack environment Matthias Runge Senior Software Engineer Nov 07, 2017 MUNIN AND PROMETHEUS T wo common monitoring implementations Diferent age (2002 vs 2012) Pulling mechanism Single server
T wo common monitoring implementations
MUNIN AND PROMETHEUS
- Diferent age (2002 vs 2012)
- Pulling mechanism
- Single server
- Interface to rrdtool vs TS database
Many more
- Ganglia
- Cacti
- pcp
DATA COLLECTION
De facto metering standard
A FEW WORDS ABOUT STATSD
- >> 10 server implementations
- riginated at Flickr, then continued at Etsy
- Metric store: <metric name>:<value>|
<type>
○
Gauges, meters, timers
DATA COLLECTION WITH COLLECTD
- takes measurements in regular intervals
- ~ 80 plugins
cpu, memory, network interface plugins for sending data reading data from another instance
- modular design
- initial release 2005
- small, but active community around it
collectd Data store Visualization
DATA STORE
CARBON, WHISPER, (AND GRAPHITE)
- alternative to using InfuxDB
- whisper: a database library for storing time-
series data (similar in design to RRD)
- graphite is for visualization
- carbon is the daemon to listen for TS data
The image is taken from graphite website
GNOCCHI
- Statsd protocol
- Storage-Backends
- Index-Backends
- Authentication & Authorization Keystone vs
basic auth
- Data aggregation
- penstack metric status
VISUALIZATION
GRAFANA
- graphite/whisper: support built in
- gnocchi: requires a plugin, available from
grafana
WHAT TO MONITOR
- Usual suspects such as free memory, IO waits
- Database writes
- Httpd connections, listeners
- Rabbitmq queue length
- Gnocchi status
- Collectd exec plugin
An alternative approach to standard setup
CONCLUSION
- collectd for data collection
- gnocchi for time-series database
- grafana for visualization
THANK YOU
plus google com/ +RedHat youtube com/user/RedHatVide
- s
facebook com/redhati nc twitter com/RedHatNe ws linkedin com/company/red- hat
REFERENCES
- https://en wikipedia org/wiki/Comparison_of_network_monitoring_systems
- http://gnocchi xyz
- https://github com/b/statsd_spec
- http://code fickr net/2008/10/27/counting-timing/