foundations icon indicating copy to clipboard operation
foundations copied to clipboard

span_fn should add tag error=true for functions returning Result when is_err is true

Open toffaletti opened this issue 1 year ago • 1 comments

It would be nice to automatically get error tags, which jaeger and other frontends have special ui treatment for.

toffaletti avatar Mar 05 '24 06:03 toffaletti

You can assign this to me, it'd be nice to have for some stuff we're working on. I'll have to figure out how to handle the case where an error tag is already added. For now I think it's fine to just exclude it if the tag has it

evanrittenhouse avatar Aug 15 '24 06:08 evanrittenhouse