Puppet Class: thanos

Defined in:
modules/thanos/manifests/init.pp

Overview

SPDX-License-Identifier: Apache-2.0



2
3
4
5
6
7
8
9
10
# File 'modules/thanos/manifests/init.pp', line 2

class thanos {
    exec { 'reload thanos-rule':
        # Workaround for SIGHUP not working in thanos 0.21.1
        # https://github.com/thanos-io/thanos/issues/4432
        # https://phabricator.wikimedia.org/T303154
        command     => '/usr/bin/curl -X POST localhost:17902/-/reload',
        refreshonly => true,
    }
}