Many processes should not start until the pushgateway has come online and is ready to serve traffic. This change adds a simple loop in the run command in order to spinlock until this condition as been met.
7 lines
No EOL
126 B
Bash
Executable file
7 lines
No EOL
126 B
Bash
Executable file
#! /bin/bash
|
|
|
|
echo 'Starting prometheus aggregator'
|
|
|
|
/usr/local/bin/prometheus-aggregator
|
|
|
|
echo 'Prometheus aggregator exited' |