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

Remove duplicate resource identity from reconciler span #228

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

nightkr
Copy link
Member

@nightkr nightkr commented Oct 6, 2021

Description

This is already provided by kube_runtime::Controller's span (https://github.com/kube-rs/kube-rs/blob/b13c619e699311788bc7cdbb0fdf18176ebd02ef/kube-runtime/src/controller/mod.rs#L274-L277). Maybe we should also move request_id upstream?

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)

Sorry, something went wrong.

This is already provided by kube_runtime::Controller's span
@nightkr nightkr requested a review from a team October 6, 2021 11:10
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.

Sounds good

Moving the requestid upstream for us would be perfect of course - not sure if that is useful for other users as well, but should be I guess ..

@nightkr
Copy link
Member Author

nightkr commented Oct 6, 2021

Yeah.. my concern there is whether it's the tracing Subscriber's responsibility or the log producer's to assign unique span IDs when desired. Something like Jaeger/OpenTelemetry would need to do this anyway behind the scenes...

@nightkr
Copy link
Member Author

nightkr commented Oct 6, 2021

Anyway, merging this as-is for now and we can take that part later.

@nightkr nightkr merged commit 8bda7ca into main Oct 6, 2021
@nightkr nightkr deleted the bugfix/reconcile-dupe-span branch October 6, 2021 14:42
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.

None yet

2 participants