From c702a6785ab28d66ec17fb596e8d5782fd5b61e0 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Mon, 13 Jan 2025 11:42:01 +0100 Subject: [PATCH] update link to java repo --- .../collecting-otel-compliant-java-logs-from-files/index.md | 4 ++-- content/en/docs/languages/java/instrumentation.md | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/content/en/blog/2024/collecting-otel-compliant-java-logs-from-files/index.md b/content/en/blog/2024/collecting-otel-compliant-java-logs-from-files/index.md index 7a2413371628..eaebd154282f 100644 --- a/content/en/blog/2024/collecting-otel-compliant-java-logs-from-files/index.md +++ b/content/en/blog/2024/collecting-otel-compliant-java-logs-from-files/index.md @@ -53,7 +53,7 @@ This blog post shows how to set up this solution step by step. {{% alert title="Note" color="info" %}} Blog post instructions can easily get outdated. In case of issues, check this -[sample application deployed on Kubernetes](https://github.com/grafana/docker-otel-lgtm/tree/main/examples/java/json-logging-otlp), +[sample application deployed on Kubernetes](https://github.com/open-telemetry/opentelemetry-java-examples/blob/main/logging-k8s-stdout-otlp-json/README.md), which is continuously updated and tested against the latest versions. {{% /alert %}} @@ -371,7 +371,7 @@ balance by providing highly contextualized logs that can be correlated with traces and metrics. If any of the steps are unclear or you encounter issues, check this -[sample application deployed on Kubernetes](https://github.com/grafana/docker-otel-lgtm/tree/main/examples/java/json-logging-otlp), +[sample application deployed on Kubernetes](https://github.com/open-telemetry/opentelemetry-java-examples/blob/main/logging-k8s-stdout-otlp-json/README.md), which is continuously updated and tested against the latest versions. Any feedback or questions? Reach out on diff --git a/content/en/docs/languages/java/instrumentation.md b/content/en/docs/languages/java/instrumentation.md index d5fff86140ab..7d5f4524cb93 100644 --- a/content/en/docs/languages/java/instrumentation.md +++ b/content/en/docs/languages/java/instrumentation.md @@ -240,7 +240,6 @@ context into Log4j", "Bridge OpenTelemetry context into Logback" entries. {{% alert title="Note" color="info" %}} An end-to-end example of log instrumentation using stdout is available in the -[Collecting OpenTelemetry-compliant Java logs from files](/blog/2024/collecting-otel-compliant-java-logs-from-files/) -blog post. +[Java examples repository](https://github.com/open-telemetry/opentelemetry-java-examples/blob/main/logging-k8s-stdout-otlp-json/README.md). {{% /alert %}}