hasura / hasura/graphql-engine

console: discrepancy in data shown in usage tab

Open
#10,369 0 comments 0 reactions 0 assignees View on GitHub
c/v3-console ddnbugbounty-2024 k/v3-bug p/high
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Component

Console

### What is the current behaviour?

The usage tab shows usage per subgraph.

Screenshot 2024-07-15 at 4 09 26 PM

In the screenshot above, usage shown for sales, experience and analytics matches in both parts of the UI.

However in the top part of the UI, usage for other subgraphs is shown as 0 but in the the bottom part of the UI, there is a usage shown for users as 0319. So there is a discrepancy in data in both parts of this page.

Screenshot 2024-07-15 at 4 09 26 PM

### What is the expected behaviour?

Usage data should match.

Contributor guide

Open the contributing guide

Research direction

Start in the Console's usage tab and reproduce the discrepancy shown in the attached screenshots, comparing the top subgraph usage display with the lower usage section. Trace how both sections obtain their usage data and identify why the Users value differs; done means both UI sections show matching usage for every subgraph.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.