monitoring with prometheus - grafana - openstack€¦ · monitoring with prometheus - grafana syah...

of 32/32
OpenStack Instance Monitoring with Prometheus - Grafana Syah Dwi Prihatmoko - Cloud Engineer [email protected]

Post on 15-Jun-2020

43 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • OpenStack Instance Monitoring with Prometheus - Grafana

    Syah Dwi Prihatmoko - Cloud [email protected]

  • About me

    ● Cloud Engineer at Btech● openSUSE Member ([email protected])● openstack-id Member● GNU/Linux Bogor Activist● Free and Open Source Software Enthusiast and Contributor

  • WhyMonitoring?

  • Know when things go wrong

  • Alerting

  • Be able to debug and gain insight

  • What toMonitoring?

  • HostsCPU, Memory, I/O, Network,

    Filesystem

  • ContainersCPU, Memory, I/O, Restarts,

    Throttling

  • ApplicationsThroughput, Latency

  • Prometheus

  • Grafana

  • Step by stephttps://s.klas.or.id/moko-ioid19

  • Step by step monitoring OpenStack Instances

    PrometheusInstall Prometheus server as TSDB

    01

  • Step by step monitoring OpenStack Instances

    Service DiscoveryConfigure service discovery Prometheus to automatically check OpenStack instances

    PrometheusInstall Prometheus server as TSDB

    01 02

  • Step by step monitoring OpenStack Instances

    Service DiscoveryConfigure service discovery Prometheus to automatically check OpenStack instances

    GrafanaInstall Grafana as dashboard to visualize metrics data

    PrometheusInstall Prometheus server as TSDB

    01 02

    03

  • Step by step monitoring OpenStack Instances

    Service DiscoveryConfigure service discovery Prometheus to automatically check OpenStack instances

    GrafanaInstall Grafana as dashboard to visualize metrics data

    DatasourceAdd Prometheus as datasource on Grafana for source of metrics data

    PrometheusInstall Prometheus server as TSDB

    01 02

    03 04

  • Step by step monitoring OpenStack Instances

    DashboardCreate Dashboard on Grafana as a visualization of metrics data on Prometheus

    05

  • Step by step monitoring OpenStack Instances

    Node ExporterInstall Node Exporter on OpenStack instances to make instances sent metrics to Prometheus

    06DashboardCreate Dashboard on Grafana as a visualization of metrics data on Prometheus

    05

  • Step by step monitoring OpenStack Instances

    Node ExporterInstall Node Exporter on OpenStack instances to make instances sent metrics to Prometheus

    VerificationCheck on Prometheus (targets) and Grafana (dashboard) to see the new instances added

    06 07DashboardCreate Dashboard on Grafana as a visualization of metrics data on Prometheus

    05

  • References

    ● https://medium.com/@pasquier.simon/monitoring-your-openstack-instances-with-prometheus-a7ff4324db6c

    ● https://blog.aryulianto.com/monitoring-openstack-instances-with-service-discovery-prometheus-grafana/

    ● https://prometheus.io/blog/2018/07/05/implementing-custom-sd/● https://grafana.com/grafana/dashboards/9276

    https://medium.com/@pasquier.simon/monitoring-your-openstack-instances-with-prometheus-a7ff4324db6chttps://medium.com/@pasquier.simon/monitoring-your-openstack-instances-with-prometheus-a7ff4324db6chttps://blog.aryulianto.com/monitoring-openstack-instances-with-service-discovery-prometheus-grafana/https://blog.aryulianto.com/monitoring-openstack-instances-with-service-discovery-prometheus-grafana/https://prometheus.io/blog/2018/07/05/implementing-custom-sd/https://grafana.com/grafana/dashboards/9276

  • Thank you!