diff options
author | Carsten Feuls | 2019-02-15 15:40:33 +0100 |
---|---|---|
committer | Carsten Feuls | 2019-02-15 15:40:33 +0100 |
commit | 504a0f8d5cab2a1dfbb1c684ccd9a6cf7d7d2dd3 (patch) | |
tree | db4a2a1b9861f10c7919eb010232976ba26a5e04 /thanos-downsample.service | |
parent | 04830907a7aac633f58011fc2b30a4dd4331481b (diff) | |
download | aur-504a0f8d5cab2a1dfbb1c684ccd9a6cf7d7d2dd3.tar.gz |
Add downsample and change config from sidecar
Diffstat (limited to 'thanos-downsample.service')
-rw-r--r-- | thanos-downsample.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/thanos-downsample.service b/thanos-downsample.service new file mode 100644 index 000000000000..bb5b62439c70 --- /dev/null +++ b/thanos-downsample.service @@ -0,0 +1,23 @@ +[Unit] +Description=Thanos Downsample continuously downsamples blocks in an object store bucket. +Requires=network-online.target +After=network-online.target + +[Service] +User=thanos +Group=thanos +Restart=on-failure +EnvironmentFile=-/etc/thanos/downsample.conf +ExecStart=/usr/bin/thanos downsample \ + $LOG_LEVEL \ + $LOG_FORMAT \ + $GCLOUDTRACE_PROJECT \ + $GCLOUDTRACE_SAMPLE \ + $DATA_DIR \ + $OBJSTORE_CONFIG_FILE \ + $OBJSTORE_CONFIG +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target + |