~/talk

Providing Monitoring Result Data to Chef

Talkat ChefConf 2017 · 2017-05-22..05-24· [devops-and-delivery, observability]
slides:none on file

A small library called Prometheus metrics cookbook queries Prometheus via the built‑in HTTPClient (no extra gems) and exposes a current_cluster_health routine that returns a scalar timestamp/value. Recipe code uses that value at compile time to skip risky actions (deploys) if under 50% healthy, and treats Prometheus being unreachable as “proceed” by default. The implementation avoids bulk data bags and per-node plugins, keeps queries focused, and the demo code successfully gates deployments without adding new agents or constant chef runs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Common Infrastructure Architecture
  3. 3:02Monitoring Systems
  4. 6:04Metrics
  5. 10:29Monitoring vs Configuration Management
  6. 14:30Delayed Action
  7. 17:54Data Bags
  8. 21:17Prometheus Metrics Spec
  9. 24:01JSON Client
  10. 27:56Example
  11. 29:07Monitoring API
  12. 30:00Hiring
  13. 30:22Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.