1
0
Fork 0

Add k8s resource attributes automatically

Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
Kevin Pollet 2025-07-21 12:06:04 +02:00 committed by GitHub
parent 7b78128d4e
commit 78cc85283c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 170 additions and 60 deletions

View file

@ -350,7 +350,7 @@ func TestTracing(t *testing.T) {
},
}
tracer, closer, err := NewTracing(tracingConfig)
tracer, closer, err := NewTracing(t.Context(), tracingConfig)
require.NoError(t, err)
t.Cleanup(func() {
_ = closer.Close()
@ -402,7 +402,7 @@ func TestTracerProvider(t *testing.T) {
otlpConfig.SetDefaults()
config := &static.Tracing{OTLP: otlpConfig}
tracer, closer, err := NewTracing(config)
tracer, closer, err := NewTracing(t.Context(), config)
if err != nil {
t.Fatal(err)
}