Skip to content

Conversation

@ichinaski
Copy link
Contributor

Description

Use HTTPTransportFunc instead of the deprecated HTTPClientFunc.

HTTPClientFunc was initially added to add support for custom transports on the opentelemetry exporter, but since datadog Agent 7.63 we can now use HTTPTransportFunc instead.

This change will allow us to fully remove HTTPClientFunc on the agent, and further simplify the configuration options.

Use HTTPTransportFunc instead of the deprecated HTTPClientFunc.

HTTPClientFunc was initially added to add support for custom transports
on the opentelemetry exporter, but since datadog Agent 7.63 we can now
use HTTPTransportFunc instead.

This change will allow us to fully remove HTTPClientFunc on the agent,
and further simplify the configuration options.
@songy23 songy23 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 24, 2025
@songy23 songy23 merged commit d5b415b into open-telemetry:main Sep 24, 2025
204 of 205 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 24, 2025
@otelbot
Copy link
Contributor

otelbot bot commented Sep 24, 2025

Thank you for your contribution @ichinaski! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

dd-mergequeue bot pushed a commit to DataDog/datadog-agent that referenced this pull request Sep 24, 2025
### What does this PR do?
Work for https://datadoghq.atlassian.net/browse/APMSP-1715

Related datadog-exporter PR (merged): open-telemetry/opentelemetry-collector-contrib#42896

Remove HTTPClientFunc from trace-agent configuration. This setting was deprecated in favor of HTTPTransportFunc, which is now used in both the trace-agent and the OTel exporter. It is safe to remove it from the codebase.

### Motivation
See above

### Describe how you validated your changes
Existing tests. This setting is unused.

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

Labels

exporter/datadog Datadog components internal/datadog Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants