-
Notifications
You must be signed in to change notification settings - Fork 238
feat: Data Streams #2877
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
feat: Data Streams #2877
Conversation
Adding support for: odigos-io/ui-kit#79 --------- Signed-off-by: Ben Elferink <ben.elferink@icloud.com>
…feat/data-streams
…feat/data-streams
fix: update DestinationModal to include updateDestination prop chore: bump @odigos/ui-kit version to 0.0.29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces end-to-end support for Data Streams (grouping) across the UI, backend services, and GraphQL API.
- Adds a new “Choose Data Stream” UI page and integrates stream context into existing setup steps
- Implements service-layer logic for adding/removing workloads and destinations from named streams
- Extends GraphQL schema, models, and resolvers to expose DataStream operations
Reviewed Changes
Copilot reviewed 52 out of 52 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/webapp/app/(setup)/choose-stream/page.tsx | New page for selecting/creating data streams |
| frontend/webapp/app/(setup)/choose-sources/page.tsx | Updated Source step to use stream-aware form |
| frontend/webapp/app/(setup)/choose-destination/page.tsx | Updated Destination step to handle stream routing |
| frontend/webapp/app/(overview)/layout.tsx | Wired DataStream CRUD into the overview header actions menu |
| frontend/services/data_stream.go | New service logic for grouping sources/destinations by stream |
| frontend/services/sources.go | Updated source CRUD to include stream labels |
| frontend/services/destinations.go | Updated destination mapping to include DataStreamNames |
| frontend/graph/schema.graphqls | Added DataStream types, inputs, mutations, and Query field |
| frontend/graph/schema.resolvers.go | Implemented DataStreams Query, Update/Delete resolvers |
| frontend/graph/model/models_gen.go | Generated GraphQL model for DataStream |
| frontend/graph/conversions.go | Extended converter to include dataStreamNames on K8sActualSource |
| collector/processors/odigosurltemplateprocessor/README.md | Minor doc formatting fixes |
Comments suppressed due to low confidence (3)
frontend/graph/schema.graphqls:675
- [nitpick] The
idparameter here represents the existing stream name (oldStreamName). Consider renaming it (e.g.oldStreamNameorcurrentStreamName) to avoid confusion with other IDs.
updateDataStream(id: ID!, dataStream: DataStreamInput!): DataStream!
frontend/services/data_stream.go:1
- This file introduces substantial new data-stream logic (
DeleteDestinationOrRemoveStreamName,UpdateSourcesCurrentStreamName, etc.) but lacks accompanying unit tests. Consider adding tests to cover key code paths.
package services
collector/processors/odigosurltemplateprocessor/README.md:128
- The regex example is wrapped with extra spaces and backticks, and the description text mistakenly shows
SA*instead ofSA_. Please correct the code fence and placeholder text to accurately reflect the intended pattern.
+- only digits or special characters - `` ^[\d_\-!@#$%^&*()=+{}\[\]:;"'<>,.?/\\|`~]+$ `` -> `{id}` (`1234`, `123_456`, `0`)
…es webhook (#2908) This PR adds a default data-stream label to Source CRDs, and validates the existence of a label.
…feat/data-streams
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think this file should have any diff in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how that got there, removed
This PR bumps the UI-Kit with several bug fixes. In addition, this PR also fixes: - already instrumented sources not select in the list - sources get clean when editing the ds name
This PR adds support for Data Streams / Grouping in the UI.
This feature is currently disabled - until we have the Odigos Routing Connector ready.