open-telemetry / opentelemetry-swift

OpenTelemetry API for Swift
https://opentelemetry.io/docs/instrumentation/swift/
Apache License 2.0
207 stars 124 forks source link

Set timeout for HTTP request in StableOtlpHttpMetricExporter #534

Closed redryerye closed 3 months ago

redryerye commented 4 months ago

What's changed in this PR?

Set timeout interval (OtlpConfiguration.timeout) to request in StableOtlpHTTPMetricExporter

redryerye commented 3 months ago

The errors [1] [2] seem unrelated to my change.

nachoBonafonte commented 3 months ago

Yes, we have some flaky tests in the project which fail from time to time. Thanks a lot for your contribution.