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

replace logs / traces histograms with new graphs #8531

Open
linear bot opened this issue May 10, 2024 · 2 comments
Open

replace logs / traces histograms with new graphs #8531

linear bot opened this issue May 10, 2024 · 2 comments

Comments

@linear
Copy link

linear bot commented May 10, 2024

No description provided.

Copy link
Author

linear bot commented May 10, 2024

Copy link

greptile-apps bot commented May 10, 2024

To replace logs/traces histograms with new graphs, you'll need to update both backend and frontend components.

  1. Backend: Modify GraphQL resolvers related to logs and traces. Unfortunately, details on schema.resolvers.go were not provided, but you should look for resolvers that fetch data for the histograms and update them to match the requirements of the new graphs.

  2. Frontend:

    • For traces, update the RelatedResourceButtons component in /frontend/src/pages/Traces/RelatedResourceButtons/index.tsx. This might involve adjusting how data is passed to the graph components or integrating new graph libraries.
    • For logs, the RelatedLogs component in /frontend/src/pages/ErrorsV2/ErrorInstance/RelatedLogs.tsx will need adjustments. This includes how the logs data is visualized and potentially integrating a new graph library to render the updated histograms.

These steps are starting points based on the provided file paths and summaries. You may need to explore related files for a comprehensive update.

References

/backend/private-graph/graph/schema.resolvers.go
/frontend/src/pages/Traces/RelatedResourceButtons/index.tsx
/frontend/src/pages/ErrorsV2/ErrorInstance/RelatedLogs.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

0 participants