8000 make --tp-carrier file shell-compatible by tobert · Pull Request #74 · equinix-labs/otel-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

make --tp-carrier file shell-compatible #74

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

Merged
merged 2 commits into from
Sep 9, 2021

Conversation

tobert
Copy link
Collaborator
@tobert tobert commented Sep 9, 2021

This reworks mostly code that was already there for --tp-print and --tp-export so no the --tp-carrier option writes and reads the same format. This makes it so you can directly source the carrier file from shell scripts.

Amy Tobey added 2 commits September 9, 2021 16:08
This reworks mostly code that was already there for --tp-print and
--tp-export so no the --tp-carrier option writes and reads the same
format. This makes it so you can directly source the carrier file from
shell scripts.

Signed-off-by: Amy Tobey <atobey@equinix.com>
Rather than parsing the file it's easiest to look and see if the
traceparent is there at the end of the file after removing whitespace.

Signed-off-by: Amy Tobey <atobey@equinix.com>
@tobert tobert merged commit 6a3a880 into main Sep 9, 2021
@tobert tobert deleted the rework-carrier-file-to-be-sourceable branch September 9, 2021 23:17
tobert pushed a commit to tobert/osie that referenced this pull request Sep 9, 2021
I forgot I didn't have --wait merged into v0.0.15 so I went off and got
that polished off in these PRs:

equinix-labs/otel-cli#73
equinix-labs/otel-cli#74

Signed-off-by: Amy Tobey <atobey@equinix.com>
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.

1 participant
0