Skip to content

vasigorc/otel-auto-scala-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otel-auto-scala-poc

A proof of concept project that proves the assumption that Opentelemetry metrics can be sent to an otel collector without any of the following:

  • having SDK dependencies on the classpath
  • having exporter-otlp or exporter-otlp-metrics dependencies
  • manually instrumenting MeterProvider, Meter etc.

Runbook

Assumptions & prerequisites

  • This code is not designed to be remotely deployed and run on a server. Therefore Scala's sbt (simple build tool) is to be used for running the code.
  • You will need to download Opentelemetry javaagent version 1.12.0 from here
    • In the run configuration we renamed the jar to opentelemetry-javaagent-all-v1.12.0.jar adjust your configuration if you choose a different convention.
    • Place it into the resources directory.
  • We use IntelliJ's sbt runner. Please reproduce the configuration locally or adjust your run environment accordingly: sbt configuration

Run

Run the sbt task using IntelliJ (the green trianle button).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages