mirror of
https://github.com/SigNoz/signoz.git
synced 2026-09-18 17:30:41 +01:00
Some checks failed
build-staging / staging (push) Has been cancelled
build-staging / prepare (push) Has been cancelled
build-staging / js-build (push) Has been cancelled
build-staging / go-build (push) Has been cancelled
cacheci / tests (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
#### Description - A logs filter on a bare key that lives in **both** resource and another context (body or scope) ANDed the two: the resource candidate built the `__resource_filter` fingerprint CTE while the other candidate landed as a required main-query term, so the query matched almost nothing. - `ResolveLogicalFields` only preferred resource over `attribute`. Generalized it to prefer resource over **any** other context (attribute, body, scope, …); other contexts stay reachable via their qualified names (e.g. `body.service.name`). #### Issues closed by this PR Closes SigNoz/engineering-pod#6086 Part of https://github.com/SigNoz/platform-pod/issues/3158 #### Additional Information Generalized rather than special-casing body/scope, since any future context would hit the same fingerprint-CTE trap.