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

Do not log exceptions when remote config returns 404 #4087

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

smola
Copy link
Member

@smola smola commented Oct 25, 2022

What Does This Do

If the agent has remote config enabled, the library discovers the endpoint, and then the agent is restarted with remote config disabled, we want to keep the logs quiet. We keep a debug-level message, but no warning or exception.

Motivation

Additional Notes

If the agent has remote config enabled, the library discovers the
endpoint, and then the agent is restarted with remote config disabled,
we want to keep the logs quiet. We keep a debug-level message, but no
warning or exception.
@smola smola added the comp: remote config Configuration at Runtime label Oct 25, 2022
@smola smola requested a review from a team October 25, 2022 07:54
@smola smola marked this pull request as ready for review October 25, 2022 10:15
@smola smola requested a review from a team as a code owner October 25, 2022 10:15
Copy link
Contributor

@bantonsson bantonsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An extension of this would be to rediscover agent capabilities and disable/enable remote config.

@smola
Copy link
Member Author

smola commented Oct 25, 2022

@bantonsson I agree. I'll check with other people working on remote config. So far, in dotnet and node we're not triggering again discovery of the remote config endpoint once it's been discovered. But it's probably a good idea to retrigger it once we got a 404.

@smola smola merged commit 247ee4d into master Oct 25, 2022
@smola smola deleted the smola/remote-config-404 branch October 25, 2022 15:46
@github-actions github-actions bot added this to the 0.114.0 milestone Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: remote config Configuration at Runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants