kenya-jug/regression

Add Support for Custom Events in Regression

Open

#60 opened on May 21, 2025

 (0 comments) (0 reactions) (0 assignees)Java (12 forks)auto 404
APICoreUIgood first issuehelp wanted

Repository metrics

Stars
 (7 stars)
PR merge metrics
 (PR metrics pending)

Description

Enhance Regression, by adding support for custom events. These events should be user-configurable and enable automatic detection based on the following log attributes:

  • Labels or specific string patterns
  • Log levels (e.g., ERROR, WARN, INFO)
  • threadName
  • ipAddress

Requirements:

  • Provide a configuration interface (JSON/YAML or UI-based) for defining custom event rules.

  • Allow rules to filter logs by:

    • Log level
    • Thread name
    • IP address
    • Custom labels or text patterns
  • Detect and tag logs that match any custom rule as a custom event.

  • Store detected events in a dedicated event store.

  • Expose matched events via existing or new API endpoints and UI components.

  • Implement basic unit and integration tests to validate matching logic and performance.


Acceptance Criteria:

  • Users can define and manage multiple custom event rules.
  • Matching logs are flagged and stored as discrete events.
  • Events can be queried and audited.
  • Minimal performance overhead under high-throughput conditions.

Additional Notes:

  • Design for extensibility (e.g., future time-window rules, correlation logic).
  • Consider integration with alerting or notification systems down the line. (Requires new separate issue)

Contributor guide