Skip to content

OTelHttpClientFactory not configured properly when tracing enabled #38740

@cernya

Description

@cernya

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

core

Describe the bug

Http-client is not working properly when the tracing is enabled.
Seems that the configuration is not read.

For example, when we enable tracing and want to call some HTTPS where client certificate is enabled, then it does not work and reports errors.

To me the issue seems in OTelHttpClientFactory.init(config) - the configuration from "default" http-client is not read. Probably just a typo (should be super.init(Config.scope(...)) with uppercase "C")?

Version

26.1.0

Regression

  • The issue is a regression

Expected behavior

Http-client is configured properly.

Actual behavior

Http-client ignores the configuration.

How to Reproduce?

Enable tracing.
For example, try to call HTTPS which required client certificate.

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions