Move aggregator into its own repo and add it to the image
This commit is contained in:
parent
713ba3abaf
commit
a1009af61c
14 changed files with 38 additions and 370 deletions
7
conf/init/service/prometheus-aggregator/log/run
Executable file
7
conf/init/service/prometheus-aggregator/log/run
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Ensure dependencies start before the logger
|
||||
sv check syslog-ng > /dev/null || exit 1
|
||||
|
||||
# Start the logger
|
||||
exec logger -i -t prometheus-aggregator
|
7
conf/init/service/prometheus-aggregator/run
Executable file
7
conf/init/service/prometheus-aggregator/run
Executable file
|
@ -0,0 +1,7 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting prometheus aggregator'
|
||||
|
||||
/usr/local/bin/prometheus-aggregator
|
||||
|
||||
echo 'Prometheus aggregator exited'
|
Reference in a new issue