Skip to content

gmariotti/ktor-opentelemetry

Repository files navigation

OpenTelemetry with Ktor

This project is a replica of the example javaagent project using Spring Boot in the OpenTelemetry repository.

How to run

  • Run the collector with $ docker compose up.
  • Run the application with $./gradlew run. This command will take care of downloading the OpenTelemetry Java Agent.
  • Send an example HTTP request with $ http localhost:8080/ping.