(ctx context.Context, name string, opts ...trace.SpanStartOption)
| 1147 | } |
| 1148 | |
| 1149 | func (r *Runner) startTrace(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) { |
| 1150 | return r.tracer.Start(ctx, name, append(opts, trace.WithAttributes( |
| 1151 | semconv.ServiceNameKey.String("coderd.provisionerd"), |
| 1152 | attribute.String("job_id", r.job.JobId), |
| 1153 | ))...) |
| 1154 | } |
| 1155 | |
| 1156 | // queueLog adds a log to the buffer and debounces a timer |
| 1157 | // if one exists to flush the logs. It stores a maximum of |
no test coverage detected