-
Notifications
You must be signed in to change notification settings - Fork 547
feat: Enable user to override invocation_id
#18878
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
Conversation
disq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nits
cli/cmd/root.go
Outdated
| f := cmd.PersistentFlags().VarPF(telemetryLevel, "telemetry-level", "", "Telemetry level (none, errors, stats, all)") | ||
| f.DefValue = "all" | ||
|
|
||
| iUUID := cmd.PersistentFlags().VarPF(&invocationUUID, "invocation-uuid", "", "useful for when using Open Telemetry integration for tracing and logging to be able to correlate logs and traces through many services") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very long description? Maybe just "override invocation UUID"?
erezrokah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
🤖 I have created a release *beep* *boop* --- ## [6.4.0](cli-v6.3.0...cli-v6.4.0) (2024-08-13) ### Features * Enable StateClient usage under docker plugins. ([#18880](#18880)) ([2d542da](2d542da)) * Enable user to override `invocation_id` ([#18878](#18878)) ([3af7f5e](3af7f5e)) ### Bug Fixes * **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.12.7 ([#18865](#18865)) ([32a17d8](32a17d8)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.59.0 ([#18881](#18881)) ([8f7667f](8f7667f)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.60.0 ([#18922](#18922)) ([7626636](7626636)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
When users want to connect traces to upstream calls they can use this to pass in an
invocation_idthat will be included in all logs and metrics