Skip to content

Conversation

@lfrancke
Copy link
Member

@lfrancke lfrancke commented Feb 9, 2021

Create a span for each new reconcile, assign a unique id to each request and improve logging in general

@lfrancke lfrancke self-assigned this Feb 9, 2021
Copy link
Member

@soenkeliebau soenkeliebau left a comment

Choose a reason for hiding this comment

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

LGTM - just one note that we might think about but that is just because it occurred to me here

Err(ref err) => {
// If we get here it means that our `reconcile` method returned an error which should never happen because
// we convert all errors to requeue operations.
error!(?err, "Reconciliation finished with an error, this should not happen, please file an issue")
Copy link
Member

Choose a reason for hiding this comment

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

Random brainfart, we are calling for people to file issues in some places, should we keep track of these places somewhere and give them an identifier that people can reference or something similar?
Nothing to do about this here, just a thought to be discussed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah...we should reactivate our common logging thing but that's probably very much outdated by now. It's a good idea though.

@lfrancke
Copy link
Member Author

Oh, I'm sorry, not sure why I added you as a reviewer. This is still a draft but it looks good so it can probably go in as well.

@lfrancke lfrancke marked this pull request as ready for review February 11, 2021 09:49
@lfrancke lfrancke merged commit db5ca3f into main Feb 11, 2021
@lfrancke lfrancke deleted the logging branch February 11, 2021 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants