Skip to content

Don't write the body of ElasticSearch traces by default #5718

Description

@matze121413

Describe what happened:
When you integrate ElasticSearch with the Datadog Agent, it will write the body of all ElasticSearch Traces into the metadata.

Describe what you expected:
As the body can contain sensitive information, it shouldn't write the body into the traces as default, like in every other HTTP Request. This behavior should be explicitly set.

Steps to reproduce the issue:

  1. Integrate ElasticSearch with the Datadog Agent
  2. Send some request to ElasticSearch
  3. Go to "Traces" -> "your ElasticSearch Service"
  4. Click on a request and go to "METADATA" and you will see the body of the request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions