#!/bin/sh -eu if [ ! -f "${__object}/parameter/disable-prometheus-exporter" ]; then # TODO: detect curl / depend on it? curl -s localhost:9888/metrics fi