From c6ec2a2b181f3112a27764ff563ef09bb8d8d6df Mon Sep 17 00:00:00 2001 From: warmans Date: Thu, 27 Apr 2017 21:38:35 +0200 Subject: [PATCH] Default add labels ON --- VERSION | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 7bcd0e3..3eefcb9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.2 \ No newline at end of file +1.0.0 diff --git a/main.go b/main.go index 7983289..8d6fa02 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ var ( configPathFlag = flag.String("config", "config.yml", "Path to config YAML file.") verboseFlag = flag.Bool("verbose", false, "Log more information") versionFlag = flag.Bool("version", false, "Show version and exit") - appendLabel = flag.Bool("label", false, "Add a label to metrics to show their origin target") + appendLabel = flag.Bool("label", true, "Add a label to metrics to show their origin target") labelName = flag.String("label.name", "ae_source", "Label name to use if a target name label is appended to metrics") )