fix marshalling of allowlisted scopes
@@ -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"`
