opentelemetry-java-instrume.../examples/distro
Anuraag Agrawal 8d74baa2e4
Run tests with javaagent. (#1643)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
..
agent Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
custom Update to 0.13 (#1961) 2020-12-26 10:28:47 +02:00
gradle/wrapper Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
instrumentation Run tests with javaagent. (#1643) 2021-01-04 13:13:24 -08:00
smoke-tests Update vendor distro example to 0.12 (#1875) 2020-12-10 10:25:33 +02:00
README.md Update README.md (#1743) 2020-11-23 20:17:43 +02:00
build.gradle Update to 0.13 (#1961) 2020-12-26 10:28:47 +02: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