-
Notifications
You must be signed in to change notification settings - Fork 214
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your environment
PHP 8.4, linux (in docker), php-fpm model
grpc module version => 1.69.0
latest version of transport-grpc
Steps to reproduce
There are 2 scenarios:
Scenario 1 (long timeout)
- Set the following env vars:
OTEL_EXPORTER_OTLP_PROTOCOL: grpc
OTEL_EXPORTER_OTLP_ENDPOINT: http://google.com:4310
OTEL_EXPORTER_OTLP_TIMEOUT: 20000
- export a batch of spans
- observe the time for the request to complete
Expected: Request completes after 10 seconds
Actual: timeout completes after about 6 seconds
Scenario 2: short timeout (under 1 second)
- Set the following env vars:
OTEL_EXPORTER_OTLP_PROTOCOL: grpc
OTEL_EXPORTER_OTLP_ENDPOINT: http://google.com:4310
OTEL_EXPORTER_OTLP_TIMEOUT: 999
- export a batch of spans
- observe the time for the request to complete
Expected: Request completes after about a second
Actual: Request completes immediately because the gRPC call immediately fails in less than 1ms (this also happens when you specify a valid collector endpoint and a 999ms timeout)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working