Skip to content

Elasticsearch and Opensearch should omit params by default#5749

Merged
bm1549 merged 1 commit into
masterfrom
bm1549/elastic-body-default
Aug 21, 2023
Merged

Elasticsearch and Opensearch should omit params by default#5749
bm1549 merged 1 commit into
masterfrom
bm1549/elastic-body-default

Conversation

@bm1549

@bm1549 bm1549 commented Aug 21, 2023

Copy link
Copy Markdown
Contributor

What Does This Do

Makes it so that elasticsearch.params and opensearch.params are omitted by default

The original behavior can be maintained by setting trace.elasticsearch.body-and-params.enabled to true

Motivation

This is beneficial in the case that they contain sensitive information
Also closes #5718

Additional Notes

@bm1549 bm1549 added tag: breaking change Breaking changes inst: elasticsearch Elasticsearch instrumentation tag: security Security related changes labels Aug 21, 2023
@bm1549
bm1549 requested a review from a team as a code owner August 21, 2023 20:41
@bm1549
bm1549 requested a review from bantonsson August 21, 2023 20:41
@bm1549
bm1549 merged commit 7842c8f into master Aug 21, 2023
@bm1549
bm1549 deleted the bm1549/elastic-body-default branch August 21, 2023 21:42
@github-actions github-actions Bot added this to the 1.20.0 milestone Aug 21, 2023
@bantonsson

Copy link
Copy Markdown
Contributor

@bm1549 Please use the word solves instead of fixes or closes, and add the relevant issue to the same milestone as the PR. GitHub automatic closing of issues can unfortunately not be configured properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: elasticsearch Elasticsearch instrumentation tag: breaking change Breaking changes tag: security Security related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't write the body of ElasticSearch traces by default

3 participants