diff --git a/pkg/server/service/event-ingester/auth/groups.go b/pkg/server/service/event-ingester/auth/groups.go index aac3c0e0..a25bbb87 100644 --- a/pkg/server/service/event-ingester/auth/groups.go +++ b/pkg/server/service/event-ingester/auth/groups.go @@ -171,7 +171,7 @@ func (g *Group) ApplyFilter(ctx context.Context, events []*xatu.DecoratedEvent) return events, nil } - ctx, span := observability.Tracer().Start(ctx, + _, span := observability.Tracer().Start(ctx, "Auth/Group.ApplyFilter", trace.WithAttributes(attribute.Int64("events", int64(len(events)))), ) @@ -196,7 +196,7 @@ func (g *Group) ApplyFilter(ctx context.Context, events []*xatu.DecoratedEvent) } func (g *Group) ApplyRedacter(ctx context.Context, events []*xatu.DecoratedEvent) ([]*xatu.DecoratedEvent, error) { - ctx, span := observability.Tracer().Start(ctx, + _, span := observability.Tracer().Start(ctx, "Auth/Group.ApplyRedacter", trace.WithAttributes(attribute.Int64("events", int64(len(events)))), ) diff --git a/pkg/server/service/event-ingester/auth/user.go b/pkg/server/service/event-ingester/auth/user.go index 21b55db6..08871ebe 100644 --- a/pkg/server/service/event-ingester/auth/user.go +++ b/pkg/server/service/event-ingester/auth/user.go @@ -93,7 +93,7 @@ func (u *User) ApplyFilter(ctx context.Context, events []*xatu.DecoratedEvent) ( return events, nil } - ctx, span := observability.Tracer().Start(ctx, + _, span := observability.Tracer().Start(ctx, "User.ApplyFilter", trace.WithAttributes(attribute.Int64("events", int64(len(events)))), )