Monitoring performance of your OpenStack environment Matthias Runge - - PowerPoint PPT Presentation

monitoring performance of your openstack environment
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Matthias Runge Senior Software Engineer Nov 07, 2017

Monitoring performance of your OpenStack environment

slide-2
SLIDE 2

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
slide-3
SLIDE 3

DATA COLLECTION

slide-4
SLIDE 4

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

slide-5
SLIDE 5

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

slide-6
SLIDE 6

DATA STORE

slide-7
SLIDE 7

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

slide-8
SLIDE 8

GNOCCHI

  • Statsd protocol
  • Storage-Backends
  • Index-Backends
  • Authentication & Authorization Keystone vs

basic auth

  • Data aggregation
  • penstack metric status
slide-9
SLIDE 9

VISUALIZATION

slide-10
SLIDE 10

GRAFANA

  • graphite/whisper: support built in
  • gnocchi: requires a plugin, available from

grafana

slide-11
SLIDE 11

WHAT TO MONITOR

  • Usual suspects such as free memory, IO waits
  • Database writes
  • Httpd connections, listeners
  • Rabbitmq queue length
  • Gnocchi status
  • Collectd exec plugin
slide-12
SLIDE 12

An alternative approach to standard setup

CONCLUSION

  • collectd for data collection
  • gnocchi for time-series database
  • grafana for visualization
slide-13
SLIDE 13

THANK YOU

plus google com/ +RedHat youtube com/user/RedHatVide

  • s

facebook com/redhati nc twitter com/RedHatNe ws linkedin com/company/red- hat

slide-14
SLIDE 14

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/