-
Notifications
You must be signed in to change notification settings - Fork 5.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
feat: adds periodical http config reloads and change detection #10102
feat: adds periodical http config reloads and change detection #10102
Conversation
b51a892
to
3265e9e
Compare
Hello , @sspaink I'm working to finish this PR in order to be merged ASAP. But I've found a couple of problems related to something external to this PR. 1) Lint Code Base / Lint Code Base (pull_request) There is a problem while downloading the linter image on the ci engine . 2) test-go-1_17-386 Test has problems on the execd plugin. What should I do now? Could you please help me to fix it please? |
Hello @toni-moreno, the linter issue has been resolved by this PR: #10108 there is an issue with the Docker image of the latest version so we reverted back to an older one in the meantime. The execd unit test failure I am not sure about, this hasn't been a flaky test before so I would assume it is due to a change in this PR. |
@sspaink , is really strange , the error where in a timeout on the execd , all my local test where all ok and execd processor is not working with the config.XXXXX funcionts that I modified. Anyway I will rebase to fix the conflic file and check again. There is any way to simulate de test-go1_17-386 in my local environment? |
1d90c12
to
720c186
Compare
…and other minor golanci-linter changes: fixing ci test
720c186
to
3d632b3
Compare
📦 Looks like new artifacts were built from this PR. Expand this list to get them here ! 🐯Artifact URLs |
@sspaink hello I've just finished the checks and a rebase. It is ready to review and merge. Could you please? |
Thanks for taking the time to put this together. This feature is clearly in demand and we realize we need to provide some mechanism to provide this feature in Telegraf. I put a few thoughts in #8730 around use-cases and errors we absolutely need to handle before we add support for this in the CLI. I think this MP covers a few of them, but I want the team to take a more thorough look as well before we sign on to support these new CLI options. |
@powersj let me know if you need something. I would like to use in our environment ASAP and I would like to see merged. |
Hi @toni-moreno, sorry this got lost in the pile. Would you be able to merge in master branch to fix the conflicts? |
I've tested the PR and got the following error by just passing the config via URL Error:
I'm running Telegraf on WIndows, the standard build works fine. |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
Required for all PRs:
resolves #8730
Added flags to config how connect to the remote http(s) server , how to download with witch interval, these flags are provided.
Change detection are delegated to the Server Side by sending request with
If-Modified-Since
header, Server should answer 200 if changed and 304 if not