An open API service indexing awesome lists of open source software.

https://github.com/wsargent/otel-pekkodebug-extension

Debug extension for Pekko
https://github.com/wsargent/otel-pekkodebug-extension

Last synced: 8 months ago
JSON representation

Debug extension for Pekko

Awesome Lists containing this project

README

          

# Pekko Debug OpenTelemetry Extension

## Introduction

This extension aims to add OpenTelemetry traces to Pekko.

## Build and add extensions

To build this extension project, run `./gradlew build`. You can find the resulting jar file in `build/libs/`.

To add the extension to the instrumentation agent:

1. Copy the jar file to a host that is running an application to which you've attached the OpenTelemetry Java instrumentation.
2. Modify the startup command to add the full path to the extension file. For example:

```bash
java -javaagent:path/to/opentelemetry-javaagent.jar \
-Dotel.javaagent.extensions=build/libs/otel-pekkodebug-extension-1.0-0-all.jar
-jar myapp.jar
```

Note: to load multiple extensions, you can specify a comma-separated list of extension jars or directories (that
contain extension jars) for the `otel.javaagent.extensions` value.