check
This commit is contained in:
		@@ -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)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user