check
This commit is contained in:
parent
03256699b2
commit
deb7986cad
@ -2,6 +2,7 @@ package gelfexporter
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
"git.ma-al.com/maal-libraries/observer/pkg/attr"
|
||||
@ -103,6 +104,8 @@ func (e *Exporter) ExportSpans(ctx context.Context, spans []trace.ReadOnlySpan)
|
||||
}
|
||||
|
||||
gelf.ExtraFields = attributes
|
||||
gelf.ExtraFields["tag"] = e.tag
|
||||
fmt.Printf("gelf.ExtraFields: %v\n", gelf.ExtraFields)
|
||||
Log(e.gelfWriter, gelf)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user