Add integration test for tracing on image pull
Create an in-memory exporter and global tracer provider Pull image with client which should create spans Validate spans in the exporter Signed-off-by: Tony Fang <nhfang@amazon.com>
This commit is contained in:
@@ -16,6 +16,8 @@ require (
|
||||
github.com/opencontainers/runtime-spec v1.0.3-0.20220825212826-86290f6a00fb
|
||||
github.com/sirupsen/logrus v1.9.0
|
||||
github.com/stretchr/testify v1.8.1
|
||||
go.opentelemetry.io/otel v1.12.0
|
||||
go.opentelemetry.io/otel/sdk v1.12.0
|
||||
golang.org/x/sys v0.4.0
|
||||
)
|
||||
|
||||
@@ -52,7 +54,6 @@ require (
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
go.opencensus.io v0.24.0 // indirect
|
||||
go.opentelemetry.io/otel v1.12.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.12.0 // indirect
|
||||
golang.org/x/mod v0.7.0 // indirect
|
||||
golang.org/x/net v0.5.0 // indirect
|
||||
|
||||
Reference in New Issue
Block a user