Rename Sentry Span Descriptions.

This commit is contained in:
Maximilian Paß
2023-03-11 13:27:06 +00:00
committed by Sebastian Serth
parent e0419c2e58
commit e877cd1e52
4 changed files with 55 additions and 22 deletions

View File

@@ -34,6 +34,7 @@ type SentryDebugWriter struct {
func NewSentryDebugWriter(target io.Writer, ctx context.Context) *SentryDebugWriter {
span := sentry.StartSpan(ctx, "nomad.execute.connect")
span.Description = "/bin/bash -c"
return &SentryDebugWriter{
Target: target,
Ctx: ctx,