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

fix: move runtime metric store to graph server #1400

Conversation

StarpTech
Copy link
Contributor

@StarpTech StarpTech commented Nov 26, 2024

Motivation and Context

This PR removes the runtime metric store from the graph mux because those metrics are shared across those like Go Memory stats and graph config uptime. Furthermore, we ensure that we work with the right base attributes when initiating a new metric store for the graph mux. Previously, we overridden the metric store from the graph server instead of creating a new one for mux. This has been fixed and verified with new integration tests.

Checklist

  • I have discussed my proposed changes in an issue and have received approval to proceed.
  • I have followed the coding standards of the project.
  • Tests or benchmarks have been added or updated.
  • Documentation has been updated on https://github.com/wundergraph/cosmo-docs.
  • I have read the Contributors Guide.

@StarpTech StarpTech changed the title chore: ensure metric store per graph mux fix: move runtime metric store to graph server Nov 26, 2024
@StarpTech StarpTech marked this pull request as ready for review November 26, 2024 18:24
@StarpTech StarpTech requested review from Noroth, df-wg and jensneuse and removed request for Noroth and jensneuse November 26, 2024 18:24
Copy link
Contributor

@Noroth Noroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StarpTech StarpTech merged commit 1e00f4b into main Nov 27, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants