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
- Host: GitHub
- URL: https://github.com/wsargent/otel-pekkodebug-extension
- Owner: wsargent
- Created: 2024-07-10T21:30:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-10T21:39:16.000Z (over 1 year ago)
- Last Synced: 2025-01-09T18:03:02.686Z (9 months ago)
- Language: Java
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.