compose/internal/tracing
Milas Bowman d688d3bf22 fix(tracing): batch span exports to prevent blocking
This was a bad configuration (my fault) that meant each span was
exported synchronously, as it ended. That can cause weird behavior
such as stuttering/blocking.

There's really no reason to NOT use the batch processor, it's the
recommended way to configure it. In the future, it might make sense
to tune the intervals based on the fact that Compose is a CLI vs
a long-running server app, but we handle flushing out on exit
already, so it's not a huge deal.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-01-17 21:17:16 +01:00
..
attributes.go project.Services is a map 2023-12-05 18:54:31 +01:00
conn_unix.go trace: add OTEL initialization (#10526) 2023-06-08 16:46:07 -04:00
conn_windows.go trace: add OTEL initialization (#10526) 2023-06-08 16:46:07 -04:00
docker_context.go deps: remove deprecated github.com/pkg/errors 2023-09-29 06:28:58 +02:00
errors.go trace: add OTEL initialization (#10526) 2023-06-08 16:46:07 -04:00
mux.go otel: fix initialization / error-handling (#10717) 2023-06-15 12:43:15 -04:00
tracing.go fix(tracing): batch span exports to prevent blocking 2024-01-17 21:17:16 +01:00
tracing_test.go trace: add OTEL initialization (#10526) 2023-06-08 16:46:07 -04:00
wrap.go deps: update docker/cli to fix go version selection issue 2023-12-19 14:15:16 +00:00