From b4a2454b0cedb2a10990f8346b178c38b7813385 Mon Sep 17 00:00:00 2001 From: paomian Date: Mon, 9 Dec 2024 12:03:02 +0800 Subject: [PATCH] chore: change loki receiver location --- grafana-alloy/config.alloy.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana-alloy/config.alloy.tpl b/grafana-alloy/config.alloy.tpl index 3ae3439..caf5c0d 100644 --- a/grafana-alloy/config.alloy.tpl +++ b/grafana-alloy/config.alloy.tpl @@ -102,7 +102,7 @@ otelcol.processor.attributes "enrichment" { } output { - logs = [otelcol.exporter.otlphttp.greptimedb_logs.input, loki.write.greptime_loki.receiver] + logs = [otelcol.exporter.otlphttp.greptimedb_logs.input] } } @@ -115,5 +115,5 @@ otelcol.receiver.loki "greptime" { logging { level = "info" format = "json" - write_to = [otelcol.receiver.loki.greptime.receiver] + write_to = [otelcol.receiver.loki.greptime.receiver, loki.write.greptime_loki.receiver] }