From 5747e4ad8258e28d0db25481f8596fbc0b4e1d8b Mon Sep 17 00:00:00 2001 From: Juraj Michalek Date: Tue, 12 Nov 2024 16:37:01 +0100 Subject: [PATCH] chore: added log line with proto message --- exporter/prometheusremotewriteexporter/exporter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exporter/prometheusremotewriteexporter/exporter.go b/exporter/prometheusremotewriteexporter/exporter.go index 8efd2f802d7c..2273ee7caad6 100644 --- a/exporter/prometheusremotewriteexporter/exporter.go +++ b/exporter/prometheusremotewriteexporter/exporter.go @@ -138,6 +138,8 @@ func newPRWExporter(cfg *Config, set exporter.Settings) (*prwExporter, error) { batchTimeSeriesState: newBatchTimeSericesState(), } + prwe.settings.Logger.Info("Running with prometheus remote write proto message", zap.Any("ProtoMsg", cfg.RemoteWriteProtoMsg)) + prwe.wal = newWAL(cfg.WAL, prwe.export) return prwe, nil }