| 211 | } |
| 212 | |
| 213 | func ValidateFilterPolicies(policies []filterconfig.FilterPolicy) error { |
| 214 | // config.ValidateFilterPolicy only does shallow structural validation. |
| 215 | // NewSpanFilter does full validation including attribute parsing, scope checks, and regex compilation. |
| 216 | // The filter itself is discarded, we only care about the error because we are checking if the policies are valid. |
| 217 | _, err := spanfilter.NewSpanFilter(policies) |
| 218 | return err |
| 219 | } |
| 220 | |
| 221 | func ValidateServiceGraphsDimensions(dimensions []string) error { |
| 222 | return nil |