Skip to content

Conversation

@bbernays
Copy link
Collaborator

@bbernays bbernays commented Aug 7, 2024

Summary

When users want to connect traces to upstream calls they can use this to pass in an invocation_id that will be included in all logs and metrics

@bbernays bbernays requested review from a team and erezrokah and removed request for a team August 7, 2024 19:43
@bbernays bbernays requested a review from erezrokah August 7, 2024 20:40
Copy link
Member

@disq disq left a 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")
Copy link
Member

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"?

@bbernays bbernays requested a review from erezrokah August 8, 2024 12:21
Copy link
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Looks good

@bbernays bbernays added the automerge Automatically merge once required checks pass label Aug 8, 2024
@kodiakhq kodiakhq bot merged commit 3af7f5e into main Aug 8, 2024
@kodiakhq kodiakhq bot deleted the user-override-invocid branch August 8, 2024 12:45
kodiakhq bot pushed a commit that referenced this pull request Aug 13, 2024
🤖 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli area/website automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants