Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database performance page #8595

Open
ccschmitz opened this issue May 16, 2024 — with Linear · 2 comments
Open

Database performance page #8595

ccschmitz opened this issue May 16, 2024 — with Linear · 2 comments

Comments

Copy link
Contributor

Build a database performance page (maybe just a dashboard?) that allows users to analyze the queries happening in their system and troubleshoot slow performing queries. Perhaps something similar to this Queries page.

Copy link

linear bot commented May 16, 2024

Copy link

greptile-apps bot commented May 16, 2024

To build a database performance page:

  1. Backend:

    • Modify GraphQL resolvers in /backend/private-graph/graph/schema.resolvers.go and /backend/private-graph/graph/generated/generated.go to fetch query performance data.
  2. Frontend:

    • Adapt DashboardOverview.tsx and Dashboard.tsx to create a new dashboard page for database performance.
    • Use QueryBuilderPage.tsx to allow users to build and analyze queries.
  3. Dashboard Configuration:

    • Reference the JSON configuration in /sdk/highlightinc-highlight-datasource/dashboards/highlight-test-dashboard.json to set up panels for query performance metrics.

References

/backend/private-graph/graph/generated/generated.go
/backend/private-graph/graph/schema.resolvers.go
/frontend/src/pages/Graphing/DashboardOverview.tsx
/frontend/src/pages/Graphing/Dashboard.tsx
/frontend/src/pages/Internal/QueryBuilderPage.tsx
/sdk/highlightinc-highlight-datasource/dashboards
/sdk/highlightinc-highlight-datasource/src/components/QueryEditor.tsx

Ask Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant