Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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 17 or higher is required to run Gradle and build this example
  • Java 11 or higher is required to run the compiled example
  • 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.