Skip to content

Files

Latest commit

ea11d66 · Nov 21, 2023

History

History
43 lines (32 loc) · 1.51 KB
·

File metadata and controls

43 lines (32 loc) · 1.51 KB
·

OpenTelemetry Log Appender Example

This example demonstrates an application configured to use the OpenTelemetry Log Appenders to bridge logs into the OpenTelemetry Log SDK, and export via OTLP.

Details about the example:

Prerequisites

  • Java 1.8
  • Docker compose

How to run

Run the collector via docker

docker-compose up

In a separate shell, run the application

../gradlew run

Watch the collector logs to see exported log records