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

[exporter/datadog] Deprecate logs::dump_payloads #34490

Merged

Conversation

liustanley
Copy link
Contributor

@liustanley liustanley commented Aug 7, 2024

Description:

Deprecates logs::dump_payloads because this config option is invalid with the Datadog Agent logs pipeline which will be enabled by default in the following release. This PR will be included in v0.107.0 and #34420 will be included in v0.108.0.

Link to tracking Issue:

Testing:
The log appears as follows:

2024-08-07T14:49:10.514-0400    warn    [email protected]/config.go:462  logs::dump_payloads is deprecated and will raise an error if set when the Datadog Agent logs pipeline is enabled by default in collector version v0.108.0    {"kind": "exporter", "data_type": "logs", "name": "datadog"}

Documentation:

@liustanley liustanley requested a review from a team August 7, 2024 18:52
@github-actions github-actions bot added the exporter/datadog Datadog components label Aug 7, 2024
@liustanley liustanley changed the title [exporter/datadog] Deprecate logs::dump_payloads [exporter/datadog] Deprecate logs::dump_payloads Aug 7, 2024
@mx-psi mx-psi merged commit 2d8a631 into open-telemetry:main Aug 8, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 8, 2024
@liustanley liustanley deleted the stanley.liu/deprecate-dump-payloads branch August 8, 2024 13:38
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Deprecates `logs::dump_payloads` because this config option is invalid
with the Datadog Agent logs pipeline which will be enabled by default in
the following release. This PR will be included in v0.107.0 and
open-telemetry#34420
will be included in v0.108.0.

**Link to tracking Issue:** <Issue number if applicable>

**Testing:** <Describe what testing was performed and which tests were
added.>
The log appears as follows:
```
2024-08-07T14:49:10.514-0400    warn    [email protected]/config.go:462  logs::dump_payloads is deprecated and will raise an error if set when the Datadog Agent logs pipeline is enabled by default in collector version v0.108.0    {"kind": "exporter", "data_type": "logs", "name": "datadog"}
```

**Documentation:** <Describe the documentation added.>

---------

Co-authored-by: Yang Song <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/datadog Datadog components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants