From 92d63be7dec61dcac1cf7b5dcfadff2ee1e64570 Mon Sep 17 00:00:00 2001 From: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com> Date: Thu, 6 Mar 2025 14:58:33 +0000 Subject: [PATCH] docs: fixed breaking tutorials (#16601) --- docs/sources/send-data/alloy/examples/alloy-kafka-logs.md | 6 ++++-- docs/sources/send-data/alloy/examples/alloy-otel-logs.md | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/sources/send-data/alloy/examples/alloy-kafka-logs.md b/docs/sources/send-data/alloy/examples/alloy-kafka-logs.md index 9ee83f937a..ae935c3adc 100644 --- a/docs/sources/send-data/alloy/examples/alloy-kafka-logs.md +++ b/docs/sources/send-data/alloy/examples/alloy-kafka-logs.md @@ -4,6 +4,8 @@ menuTitle: Sending Logs to Loki via Kafka using Alloy description: Configuring Grafana Alloy to receive logs via Kafka and send them to Loki. weight: 250 killercoda: + comment: | + This file is used to generate the interactive tutorial for sending logs to Loki via Kafka using Alloy. Please do not change url's with placeholders from the code snippets. This tutorial is assumes they remain static. title: Sending Logs to Loki via Kafka using Alloy description: Configuring Grafana Alloy to receive logs via Kafka and send them to Loki. backend: @@ -195,7 +197,7 @@ And finally, add the following configuration to the `config.alloy` file: ```alloy loki.write "http" { endpoint { - url = "http://:3100/otlp/v1/logs" + url = "http://loki:3100/loki/api/v1/push" } } ``` @@ -299,7 +301,7 @@ Finally, add the following configuration to the `config.alloy` file: ```alloy otelcol.exporter.otlphttp "default" { client { - endpoint = "http://:3100/otlp/v1/logs" + endpoint = "http://loki:3100/otlp" } } ``` diff --git a/docs/sources/send-data/alloy/examples/alloy-otel-logs.md b/docs/sources/send-data/alloy/examples/alloy-otel-logs.md index 296c9b64e7..8c6f16e73a 100644 --- a/docs/sources/send-data/alloy/examples/alloy-otel-logs.md +++ b/docs/sources/send-data/alloy/examples/alloy-otel-logs.md @@ -4,6 +4,8 @@ menuTitle: Sending OpenTelemetry logs to Loki using Alloy description: Configuring Grafana Alloy to send OpenTelemetry logs to Loki. weight: 250 killercoda: + comment: | + This file is used to generate the interactive tutorial for sending logs to Loki via otel using Alloy. Please do not change url's with placeholders from the code snippets. This tutorial is assumes they remain static. title: Sending OpenTelemetry logs to Loki using Alloy description: Configuring Grafana Alloy to send OpenTelemetry logs to Loki. backend: @@ -181,7 +183,7 @@ Now add the following configuration to the `config.alloy` file: ```alloy otelcol.exporter.otlphttp "default" { client { - endpoint = "http://:3100/otlp/v1/logs" + endpoint = "http://loki:3100/otlp" } } ```