(streams Streams)
| 103 | } |
| 104 | |
| 105 | func stdioAttributes(streams Streams) []attribute.KeyValue { |
| 106 | return []attribute.KeyValue{ |
| 107 | attribute.Bool("command.stdin.isatty", streams.In().IsTerminal()), |
| 108 | attribute.Bool("command.stdout.isatty", streams.Out().IsTerminal()), |
| 109 | attribute.Bool("command.stderr.isatty", streams.Err().IsTerminal()), |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | func attributesFromError(err error) []attribute.KeyValue { |
| 114 | attrs := []attribute.KeyValue{} |
searching dependent graphs…