From 6e6da035e505b8dfc28c46f6041f755f7c550278 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 18 Sep 2020 14:35:42 +0000 Subject: [PATCH] Drop alertmanager message about blank config to debug We get one of these messages for every tenant every 15 seconds, and none of them are very interesting in normal operation. Signed-off-by: Bryan Boreham --- CHANGELOG.md | 1 + pkg/alertmanager/multitenant.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3b80b9b01b..71b1512d5a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Introduced `-distributor.sharding-strategy` CLI flag (and its respective `sharding_strategy` YAML config option) to explicitly specify which sharding strategy should be used in the write path * `-experimental.distributor.user-subring-size` flag renamed to `-distributor.ingestion-tenant-shard-size` * `user_subring_size` limit YAML config option renamed to `ingestion_tenant_shard_size` +* [CHANGE] Dropped "blank Alertmanager configuration; using fallback" message from Info to Debug level. #3205 * [FEATURE] Added support for shuffle-sharding queriers in the query-frontend. When configured (`-frontend.max-queriers-per-user` globally, or using per-user limit `max_queriers_per_user`), each user's requests will be handled by different set of queriers. #3113 * [ENHANCEMENT] Shuffle sharding: improved shuffle sharding in the write path. Shuffle sharding now should be explicitly enabled via `-distributor.sharding-strategy` CLI flag (or its respective YAML config option) and guarantees stability, consistency, shuffling and balanced zone-awareness properties. #3090 * [ENHANCEMENT] Ingester: added new metric `cortex_ingester_active_series` to track active series more accurately. Also added options to control whether active series tracking is enabled (`-ingester.active-series-enabled`, defaults to false), and how often this metric is updated (`-ingester.active-series-update-period`) and max idle time for series to be considered inactive (`-ingester.active-series-idle-timeout`). #3153 diff --git a/pkg/alertmanager/multitenant.go b/pkg/alertmanager/multitenant.go index 79b86c46ece..eff28293229 100644 --- a/pkg/alertmanager/multitenant.go +++ b/pkg/alertmanager/multitenant.go @@ -386,7 +386,7 @@ func (am *MultitenantAlertmanager) setConfig(cfg alerts.AlertConfigDesc) error { if am.fallbackConfig == "" { return fmt.Errorf("blank Alertmanager configuration for %v", cfg.User) } - level.Info(am.logger).Log("msg", "blank Alertmanager configuration; using fallback", "user", cfg.User) + level.Debug(am.logger).Log("msg", "blank Alertmanager configuration; using fallback", "user", cfg.User) userAmConfig, err = amconfig.Load(am.fallbackConfig) if err != nil { return fmt.Errorf("unable to load fallback configuration for %v: %v", cfg.User, err)