#!/usr/bin/env bash # # Checks the status of local metrics # set -e cd "$(dirname "$0")" ( set -x docker ps --no-trunc --size ) if ! timeout 10s curl -v --head http://localhost:8086/ping; then echo Error: InfluxDB not running exit 1 fi if ! timeout 10s curl -v --head http://localhost:3000; then echo Error: Grafana not running exit 1 fi cat <