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

Fixing RichConsoleExporter to allow for multiple traces at once #1336

Merged
merged 17 commits into from
Oct 10, 2022

Conversation

rbizos
Copy link
Contributor

@rbizos rbizos commented Sep 16, 2022

List of changes:

  • With a batch exporter currently, RichConsoleExporter would make all span originate with the first trace
  • Also it would print any span twice which would make the output a bit difficult to read
  • Additionally adding resources to the output to help debug

This makes the debug of a SDK configuration a bit easier

@rbizos rbizos requested a review from a team September 16, 2022 15:51
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 16, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Contributor

@ocelotl ocelotl left a comment

Choose a reason for hiding this comment

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

Please add test cases

Copy link
Contributor

@ocelotl ocelotl left a comment

Choose a reason for hiding this comment

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

Please remove the print

rbizos and others added 7 commits September 29, 2022 10:05
With a batch exporter this would make all span originate with the first
trace

Also it would print any span twice which would make the output a bit
difficult to read
@ocelotl
Copy link
Contributor

ocelotl commented Oct 3, 2022

Please fix lint failures

CHANGELOG.md Outdated Show resolved Hide resolved
@rbizos
Copy link
Contributor Author

rbizos commented Oct 10, 2022

Took some back and forth, sorry about that, I did not spend enough on getting the dev environment to work properly as my feature was so simple. Had some similar issue than #1083. Now that all works it should be better.

@srikanthccv srikanthccv enabled auto-merge (squash) October 10, 2022 16:30
@srikanthccv srikanthccv merged commit e15ee2b into open-telemetry:main Oct 10, 2022
saartochner-lumigo pushed a commit to lumigo-io/opentelemetry-python-contrib that referenced this pull request Nov 13, 2022
saartochner-lumigo pushed a commit to lumigo-io/opentelemetry-python-contrib that referenced this pull request Nov 13, 2022
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.

3 participants