Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:STorresi:containers
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 9d1f31c..a4df910 100644 --- a/cmd/alertmanager/main.go +++ b/cmd/alertmanager/main.go @@ -118,8 +118,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() alertGCInterval = kingpin.Flag("alerts.gc-interval", "Interval between alert GC.").Default("30m").Duration() -- 2.20.1
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