#recursive dagql calls without the output

1 messages · Page 1 of 1 (latest)

random wigeon
#

here's an example....

#

I end up with a red error, which is confusing to the user.

#

and even if it was a WARN, it's still way too much information (it's akin to logging each syscall)

#

Here's my actual usecase to illustrate how it'll affect users.

#

looks like there's a span.Ignore? Maybe I can set this when making my sub call?

prime perch
#

@random wigeon look into Check.run similar problem i think

random wigeon
#

thanks for that! I think this does it for me:

        ctx, span := Tracer(ctx).Start(ctx, fmt.Sprintf("file %s", file),
            telemetry.Internal(),
        )
        defer telemetry.EndWithCause(span, nil)