Skip to content

Commit

Permalink
Increase OpenTelemetry collector timeout from 5 to 30 seconds (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee authored Jan 30, 2024
1 parent 921b844 commit 9067327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infra/open_telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func NewCollector(ctx context.Context, cli *client.Client, net *Networks, params

// Close stops and removes the container.
func (c *Collector) Close() error {
timeout := 5
timeout := 30
_ = c.cli.ContainerStop(context.Background(), c.containerID, container.StopOptions{Timeout: &timeout})

err := c.cli.ContainerRemove(context.Background(), c.containerID, types.ContainerRemoveOptions{Force: true})
Expand Down

0 comments on commit 9067327

Please sign in to comment.