Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dynatraceexporter] truncate long unmarshalable responses #10568

Merged

Conversation

dyladan
Copy link
Member

@dyladan dyladan commented Jun 2, 2022

When an endpoint does not return a valid JSON error (for example, the endpoint is incorrect or the server has an issue) truncate responses to 1000 characters in order to avoid spamming the logs with large payloads.

@dyladan dyladan requested a review from a team June 2, 2022 12:25
@dyladan dyladan requested a review from arminru as a code owner June 2, 2022 12:25
@dyladan dyladan requested a review from djaglowski June 2, 2022 12:25
@djaglowski djaglowski merged commit 1c7fa84 into open-telemetry:main Jun 7, 2022
@dyladan dyladan deleted the truncate-long-responses branch June 7, 2022 13:36
kentquirk pushed a commit to McSick/opentelemetry-collector-contrib that referenced this pull request Jun 14, 2022
…etry#10568)

* [dynatraceexporter] truncate long unmarshalable responses

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants