open-telemetry / open-telemetry/opentelemetry-java-instrumentation

Allow request body to be collected as a span attribute

Open
#8,778 15 comments 0 reactions 1 assignee View on GitHub

@Cirilla-zmh is already working on this.

Since Apr 17, 2024.

contribution welcome enhancement
Dominant language
Java
Stars
2.6k
Forks
1.2k
Avg merge
2d 18h
Merged PRs (30d)
228

Description

Proposing a new feature, where user can get the request parameters, i.e. headers, body etc. in resource attributes.
This can be controlled via a feature toggle as @zeitlinger suggested to me on slack

I would like to give a PR for this myself.
Need inputs from the team on this.
Also, I would like to know if this can be done via any central class instead of implementing this in each instrumentation ?!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.