Skip to content

Instantly share code, notes, and snippets.

@arturmartins
Forked from jabley/allspaw.md
Last active May 14, 2020 05:36
Show Gist options
  • Save arturmartins/a01f5c3950321f5473be to your computer and use it in GitHub Desktop.
Save arturmartins/a01f5c3950321f5473be to your computer and use it in GitHub Desktop.

Writing Post Mortems - John Allspaw

This talk is also known as ‘PostMortem Facilitation: Theory and Practice of "New View" Debriefings’ Background reading for attendees

Familiarize yourself with Prometheus.

A good starter is the SoundCloud blog post

Next, you should look at the “Week of Monitoring” blog posts by Boxever

Finally, you find comprehensive documentation at http://prometheus.io.

Bring a Linux or Mac laptop. (Optionally, have a running Linux in a VM on a Mac or on any other platform.)

Install the most recent binaries for your platform from https://github.com/prometheus/prometheus/releases (Prometheus server) and https://github.com/prometheus/node_exporter/releases (Node Exporter). If you have Linux running in a VM, install the node exporter there. (The node exporter works much better on Linux.)

An example application to be instrumented will be offered in Go and Python.

If you prefer Python, make sure you have a working Python development environment on your laptop and install the Python client library by running

pip install prometheus_client

If you prefer Go, make sure you have a working Go1.4.x development on your machine and clone https://github.com/prometheus/client_golang into $GOPATH/src/github.com/prometheus/client_golang. Make sure the following works:

cd $GOPATH/src/github.com/prometheus/client_golang/examples/simple
go get
go build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment