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

[GEN-2141]: remove instrumentation config modified-event batcher; update source-update logic #2108

Merged
merged 198 commits into from
Dec 31, 2024

Conversation

BenElferink
Copy link
Contributor

@BenElferink BenElferink commented Dec 31, 2024

This pull request includes changes to the frontend/kube/watchers/instrumentation_config_watcher.go and frontend/webapp/hooks/sources/useSourceCRUD.ts files, focusing on removing unnecessary event batching for modified events and improving the source CRUD operations. The most important changes are summarized below:

Removal of Modified Event Handling:

  • Removed the instrumentationConfigModifiedEventBatcher and related event handling logic from instrumentation_config_watcher.go. [1] [2] [3] [4] [5]

Improvements to Source CRUD Operations:

  • Enhanced the useSourceCRUD hook to include refetch and removePendingItems functions, providing better handling of source updates. [1] [2]
  • Updated the notification message for source updates to be more specific and accurate.

Documentation and Code Comments:

  • Added comments to the usePendingStore to explain its purpose and usage, improving code readability and maintainability. [1] [2]

damemi and others added 30 commits December 23, 2024 13:40
Create & Delete Source CRD via UI
…pending items logic in useSSE and usePendingStore
Copy link

@BenElferink BenElferink merged commit 6d3d447 into odigos-io:feature/source-crd Dec 31, 2024
33 checks passed
@BenElferink BenElferink deleted the gen-2141 branch January 6, 2025 12:34
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

Successfully merging this pull request may close these issues.

4 participants