-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Team:Security-Service IntegrationsSecurity Service Integrations TeamSecurity Service Integrations Team
Description
The CEL input has grown in complexity over time and is due to for some refactoring attention.
This is particularly evident during the present work to add OTel tracing (#48440), which uses separate spans for separate parts of processing and needs separate context and loggers for each, which is more cumbersome in one big function than separate functions with narrower responsibilities.
Here's cyclomatic complexity over time of the (input).run function (479 lines):

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Team:Security-Service IntegrationsSecurity Service Integrations TeamSecurity Service Integrations Team
Type
Fields
Give feedbackNo fields configured for issues without a type.