#Shell: errors in otel spans
1 messages · Page 1 of 1 (latest)
yep!
Could actually be shown in the cloud (collapsed), just doesn't make sense to show on the TUI.
Which attributes should I use? Or is there an example of something quite similar in intent?
just internal should do - dagger.io/ui.internal=true, there might be a telemetry.Internal() helper, or there's at least a const for the attr name, telemetry.UIInternalAttr
Can it be surfaced on a condition? For example I just want to hide the moduleSource call when it's the "does not exist" error, but show the span for other errors.
You could set the attribute to false instead of true after checking what the error is (and initially setting it to true)