Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Paris container Day 2017 - End-to-end monitorin...

Paris container Day 2017 - End-to-end monitoring with the Prometheus Operator - Max Inden, CoreOS

Avatar for Paris Container Day

Paris Container Day

June 13, 2017

More Decks by Paris Container Day

Other Decks in Technology

Transcript

  1. What is Prometheus? • Open Source Monitoring • Built by

    Soundcloud • Inspired by borgmon •
  2. Target /metrics # HELP http_requests_total Total number of HTTP requests

    made. # TYPE http_requests_total counter http_requests_total{code="200",path="/status"} 8
  3. Target /metrics # HELP http_requests_total Total number of HTTP requests

    made. # TYPE http_requests_total counter http_requests_total{code="200",path="/status"} 8 Metric name
  4. Target /metrics # HELP http_requests_total Total number of HTTP requests

    made. # TYPE http_requests_total counter http_requests_total{code="200",path="/status"} 8 Label
  5. Target /metrics # HELP http_requests_total Total number of HTTP requests

    made. # TYPE http_requests_total counter http_requests_total{code="200",path="/status"} 8 Value
  6. Current percentage of HTTP errors across all service instances? sum

    by(path) rate(http_requests_total{status="500"}[5m])) / sum by(path) rate(http_requests_total[5m]))
  7. Current percentage of HTTP errors across all service instances? {path="/status"}

    0.0039 {path="/"} 0.0011 {path="/api/v1/topics/:topic"} 0.087 {path="/api/v1/topics} 0.0342 sum by(path) rate(http_requests_total{status="500"}[5m])) / sum by(path) rate(http_requests_total[5m]))
  8. Alertmanager Deduplicates Alert Alert Alert Alert Alert Alert Alert Groups

    Alert Alert Alert Alert Alert Alert Routes Alert Alert Alert Alert Alert Team A Team B Team C
  9. Alertmanager Deduplicates Alert Alert Alert Alert Alert Alert Alert Groups

    Alert Alert Alert Alert Alert Alert Routes Alert Alert Alert Alert Alert Team A Team B Team C
  10. What is Kubernetes? Announced 2014 by Google Influenced by Borg

    & Omega v1.01 in July 2015 Kubernetes joins the CNCF
  11. Master API-Server etcd Controller-Manager Scheduler Kube-DNS ... Worker Kubelet Kube-Proxy

    ... Location User AppX User AppX Location Service Service Service Prometheus K8s-API-Server Application-Monitoring Cluster-Monitoring