diff --git a/trace.go b/trace.go index 886f89f..396b8f9 100644 --- a/trace.go +++ b/trace.go @@ -83,7 +83,7 @@ func (s scopeClass) MarshalJSON() ([]byte, error) { span = name[idx+5:] } // System and Transient scope - if name == "system" || name == "transient" { + if name == "system" || name == "transient" || name == "allowlistedSystem" || name == "allowlistedTransient" { return json.Marshal(struct { Class string Span string `json:",omitempty"`