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] Always use http for logs agent exporter #33504

Merged

Conversation

liustanley
Copy link
Contributor

@liustanley liustanley commented Jun 11, 2024

Description:

Add default config option to always use http for logs agent exporter. Fixes bug where logs agent exporter was falling back to using tcp, causing collector shut down.

Also opened a PR in datadog-agent for adding a warn log when the logs agent connectivity check fails: DataDog/datadog-agent#26626

Link to tracking Issue:
Fixes #33195

Testing:

Documentation:

@liustanley liustanley requested review from mx-psi, songy23 and a team as code owners June 11, 2024 20:36
@mx-psi
Copy link
Member

mx-psi commented Jun 12, 2024

Does this fix #33195 ? If so, can you add 'Fixes' before the issue number so that the issue gets automatically closed when merging this?

@songy23
Copy link
Member

songy23 commented Jun 12, 2024

e2e test failures are unrelated: #33512

@songy23 songy23 added the ready to merge Code review completed; ready to merge by maintainers label Jun 12, 2024
@mx-psi mx-psi merged commit af5997f into open-telemetry:main Jun 12, 2024
164 of 170 checks passed
@mx-psi mx-psi deleted the stanley.liu/logs-agent-use-http branch June 12, 2024 18:18
@github-actions github-actions bot added this to the next release milestone Jun 12, 2024
t00mas pushed a commit to t00mas/opentelemetry-collector-contrib that referenced this pull request Jun 18, 2024
…metry#33504)

**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.-->

Add default config option to always use http for logs agent exporter.
Fixes bug where logs agent exporter was falling back to using tcp,
causing collector shut down.

Also opened a PR in datadog-agent for adding a warn log when the logs
agent connectivity check fails:
DataDog/datadog-agent#26626

**Link to tracking Issue:** <Issue number if applicable>
Fixes
open-telemetry#33195

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/datadog Datadog components ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[exporter/datadog] invalid api token causes failure when using logs agent exporter
4 participants