-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
API server overlaying topology - RFC #3226
Comments
I've updated this title to reflect the API overlaying topology, rather than this being a GraphQL-specific concern. This touches both configuration of the API, and a design decision around whether the API is part of topology, or aside from it. In either case, the API must observe it. GraphQL-specific discussions were broken out to a separate RFC in #3648. |
I've settled on what I think is a good pattern for observing topology. In earlier versions, the API restarted with toplogy, and would attempt to read from Now because the API persists across watched changes, the raw This answers the following queries: Will this be "always on"? Yes How this will be configured with configuration examples. No configuration is necessary, save for Where this will be integrated in the code. Directly in the schema, with the slim addition of updating a How this aligns with the N/A. Metrics are observed directly from a controller, and outside the scope of topology. The two worlds meet when augmenting topology types with statistical fields. But since an individual field resolver in GraphQL is simply an The path forward is now quite clear -- creating GraphQL schema to include types for sources, transforms and sinks, and provide relationships between each in the graph. |
Closing, since this is superceded by current work on |
To clarify, for:
Do you mean the API server will be enabled by default? Or something else? |
No, to clarify, the API server still requires an explicit: [api]
enabled = true ... in But once it's on, it remains on. It did originally auto-reload with other changes to vector.toml, as part of topology. But @lukesteensen commented not to mix the API with topology, so it doesn't currently restart when making changes such as turning Those changes require a hard restart of Vector. |
Aha, gotcha 👍 Thanks for the clarification. I'm excited to see this work coming along! |
Now that #3225 is finalized, we need an RFC that proposed how a GraphQL server will be embedded into Vector. Specific topics to cover:
internal_metrics
source, ensuring that we are aligning this work for future roadmap phases. Specifically, aligning on the data model -- working with the data coming out of theinternal_metrics
source.The text was updated successfully, but these errors were encountered: