elastic / elastic/elastic-otel-java

Capture body for HTTP requests + incoming messages

Open
#309 9 comments 1 reaction 1 assignee Claimed by @SylvainJuge View on GitHub
agent-java
Dominant language
Java
Stars
35
Forks
32
Avg merge
1d 8h
Merged PRs (30d)
30

Description

### Classic agent link
- https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#config-capture-body

### What it does
For transactions that are HTTP requests, the Java agent can optionally capture the request body (e.g. POST variables). For transactions that are initiated by receiving a message from a message broker, the agent can capture the textual message body.

### Implementation difficulty, location, and dynamism
- Already implemented
- https://opentelemetry.io/docs/zero-code/java/agent/configuration/#capturing-servlet-request-parameters
- https://opentelemetry.io/docs/zero-code/java/agent/configuration/#capturing-consumer-message-receive-telemetry-in-messaging-instrumentations
- Not dynamic

@akhileshpok please feedback on whether this really needs to be supported as a dynamic capability

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.