mirror of
https://github.com/SigNoz/signoz.git
synced 2026-09-20 18:30:41 +01:00
#### Description 1. Adds `docs/contributing/go/sqlcompiler.md`, a contributing doc for `package sqlcompiler` (the shared list filter DSL to SQL compiler extracted from dashboards in #12806). 2. Covers, in order: the DSL itself (grammar, boolean structure, comparisons, free text), what the framework already handles (parsing, tree walking, operator extraction, predicate builders, error accumulation, arg binding), and what a module must supply (a `FieldResolver`, with the dashboards resolver as the reference implementation). 3. Documents the wiring pattern: a thin module-level `Compile` wrapper mapping compiler errors to the module's error code, keys and allowed operators declared in `pkg/types/<domain>` and advertised as `reservedKeywords`. 4. Adds the doc to the index in `docs/contributing/go/readme.md`. #### Issues closed by this PR Closes SigNoz/pulse-pod#349