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 16c66897e6e1..7d5f4524cb93 100644 --- a/content/en/docs/languages/java/instrumentation.md +++ b/content/en/docs/languages/java/instrumentation.md @@ -236,3 +236,10 @@ document. Log correlation with traces is available by installing a [shim](#shims) to bridge OpenTelemetry context into the log framework. See "Bridge OpenTelemetry 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 +[Java examples repository](https://github.com/open-telemetry/opentelemetry-java-examples/blob/main/logging-k8s-stdout-otlp-json/README.md). + +{{% /alert %}}