Open
Description
Use Case
Visualize traffic patterns like calls count, P99 latency, error across IP, user_id, api_key, etc via the explorer tab.
This will help us debug issues like
- Latency/Errors spike specific to a user or customer
- Request spikes from particular IPs or API keys
Proposal
The above use cases can be solved in a generic fashion by grouping explorer query results based on custom tags. Currently, there is no way we can solve this issue via prometheus+grafana due to the high cardinality of these tags. Addition of feature will be makes explorer tab more powerful
Tasks
Based on the below conversation, converting the high-level items discussed here to sub-tasks for this ticket.
Query Service:
- Enhance query service request proto with AttributeExpression #1268
- API support for receiving attribute expressions in all places a ColumnIdentifier is currently received query-service#99
- Impl support for translating attribute expressions into pinot queries query-service#100
- Deprecations ( CONTAINS_KEY, CONTAINS_KEY_VALUE operators and ColumnIdentifier expressions)
Gateway Service
- API support for receiving attribute expressions in all places a ColumnIdentifier is currently received
- Impl support for translating attribute expressions into QS attribute expressions
- Deprecations of ColumnIdentifier expression
GraphQL service:
- API support for receiving attribute expressions all places string keys are currently received
- Impl support for translating into GW attribute expressions
- Deprecations of string keys input
UI
- Implementing new UX definintation for groupby
- Update GQL queries to pass attribute expressions
Metadata
Metadata
Assignees
Labels
No labels