sentry
sentry copied to clipboard
Implement wildcard support for metrics
In the context of https://github.com/getsentry/sentry/issues/69387, we discovered that wildcard support needs additional investment on the storage side. When this is possible in storage, we can implement the wildcard support as intended and tried out in https://github.com/getsentry/sentry/pull/69647
### Tasks
- [ ] Add wildcard support to MQL parser grammar in snuba-sdk for use in Sentry: https://github.com/getsentry/snuba-sdk/blob/main/snuba_sdk/mql/mql.py#L25
- [ ] Add wildcard support to MQL parser visitor in snuba for conversion to Snuba AST: https://github.com/getsentry/snuba/blob/master/snuba/query/mql/parser.py#L91
- [ ] Add wildcard support to MQL parser visitor: https://github.com/getsentry/snuba-sdk/blob/main/snuba_sdk/mql/mql.py#L130