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