A tiny web-server for creating SHA256 hashes with Prometheus metrics
Clone or download

README.md

hash-browns

This repository contains:

  • A Quick-Start recipe for monitoring an application with Prometheus.
  • A tiny web-server for creating SHA256 hashes with a /metrics endpoint

Read more on the related blog post

Notes for Raspberry PI:

Initialize swarm-mode

# docker swarm init

Build the image:

# docker build -t alexellis2/hash-browns:0.3 . -f Dockerfile

Or build for ARM:

# docker build -t alexellis2/hash-browns:0.2-armhf . -f Dockerfile.armhf

Deploy the stack with a separate compose-file:

# docker stack deploy tutorial --compose-file=./docker-compose.armhf.yml