Skip to content

Commit

Permalink
Add opentelemetry BlobstoreClientTracer to flyteadmin (#57) (#4901)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Dye <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
  • Loading branch information
andrewwdye authored and katrogan committed Feb 20, 2024
1 parent af5776a commit 98dd797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteadmin/cmd/entrypoints/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var serveCmd = &cobra.Command{
server.SetMetricKeys(cfg.ApplicationConfiguration().GetTopLevelConfig())

// register otel tracer providers
for _, serviceName := range []string{otelutils.AdminGormTracer, otelutils.AdminServerTracer} {
for _, serviceName := range []string{otelutils.AdminGormTracer, otelutils.AdminServerTracer, otelutils.BlobstoreClientTracer} {
if err := otelutils.RegisterTracerProvider(serviceName, otelutils.GetConfig()); err != nil {
logger.Errorf(ctx, "Failed to create otel tracer provider. %v", err)
return err
Expand Down

0 comments on commit 98dd797

Please sign in to comment.