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

update the spec without affecting incoming metrics processing #836

Open
FrankChen021 opened this issue Jul 18, 2024 · 1 comment
Open

update the spec without affecting incoming metrics processing #836

FrankChen021 opened this issue Jul 18, 2024 · 1 comment

Comments

@FrankChen021
Copy link
Owner

when updating a spec through API, the input source will be unloaded first and then loaded again to take effect. this would cause incoming metrics fail to process between the unloading the loading process because of not found metric handler.

@FrankChen021
Copy link
Owner Author

the solution is to (deep) compare if input source has been changed, if not, there's no need to unload the old one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant