opentelemetry-java-instrume.../examples/distro
Trask Stalnaker 0c8d7fe73f
Miscellaneous cleanup (#1805)
* Remove outdated doc

* Remove unnecessary dependencies

* Formatting

* Rename TRACER to tracer

* Move WrappedFuture to top-level class

* Add missing shadow config

* Use simpler type

* Use simpler base class
2020-11-29 21:05:53 -08:00
..
agent Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
custom Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
gradle/wrapper Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
instrumentation Miscellaneous cleanup (#1805) 2020-11-29 21:05:53 -08:00
smoke-tests Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
README.md Update README.md (#1743) 2020-11-23 20:17:43 +02:00
build.gradle Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
gradlew Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
gradlew.bat Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
settings.gradle Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00

README.md

Introduction

This repository serves as a collection of examples of extending functionality of OpenTelemetry Java instrumentation agent. It demonstrates how to repackage the aforementioned agent adding custom functionality. For every extension point provided by OpenTelemetry Java instrumentation, this repository contains an example of its usage.

General structure

This repository has four main submodules:

  • custom contains all custom functionality, SPI and other extensions
  • agent contains the main repackaging functionality and, optionally, an entry point to the agent, if one wishes to customize that
  • instrumentation contains custom instrumentations added by vendor
  • smoke-tests contains simple tests to verify that resulting agent builds and applies correctly

Extensions examples