Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
golang-github-prometheus-alertmanager
0001-Default-settings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Default-settings.patch of Package golang-github-prometheus-alertmanager
From 09b9b978c3da4a8b431030cadc685ea2be68528e Mon Sep 17 00:00:00 2001 From: Jan Fajerski <jfajerski@suse.com> Date: Fri, 8 Feb 2019 12:14:47 +0100 Subject: [PATCH] Adjust default settings Signed-off-by: Jan Fajerski <jfajerski@suse.com> --- cmd/alertmanager/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/alertmanager/main.go b/cmd/alertmanager/main.go index b645aa3..c91dc69 100644 --- a/cmd/alertmanager/main.go +++ b/cmd/alertmanager/main.go @@ -199,8 +199,8 @@ func run() int { } var ( - configFile = kingpin.Flag("config.file", "Alertmanager configuration file name.").Default("alertmanager.yml").String() - dataDir = kingpin.Flag("storage.path", "Base path for data storage.").Default("data/").String() + configFile = kingpin.Flag("config.file", "Alertmanager configuration file name.").Default("/etc/prometheus/alertmanager.yml").String() + dataDir = kingpin.Flag("storage.path", "Base path for data storage.").Default("/var/lib/prometheus/alertmanager").String() retention = kingpin.Flag("data.retention", "How long to keep data for.").Default("120h").Duration() maintenanceInterval = kingpin.Flag("data.maintenance-interval", "Interval between garbage collection and snapshotting to disk of the silences and the notification logs.").Default("15m").Duration() alertGCInterval = kingpin.Flag("alerts.gc-interval", "Interval between alert GC.").Default("30m").Duration()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor