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 %}} diff --git a/static/refcache.json b/static/refcache.json index 8018effcc084..96b067a9b865 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -8959,6 +8959,10 @@ "StatusCode": 200, "LastSeen": "2024-10-23T20:19:13.793874-05:00" }, + "https://github.com/open-telemetry/opentelemetry-java-examples/blob/main/logging-k8s-stdout-otlp-json/README.md": { + "StatusCode": 206, + "LastSeen": "2025-02-01T02:33:56.495897618Z" + }, "https://github.com/open-telemetry/opentelemetry-java-examples/tree/main/declarative-configuration": { "StatusCode": 206, "LastSeen": "2025-01-16T11:37:46.452153-05:00"