Skip to content

Update transform_id for W3C Metadata creation and Reporter init #9

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 4 commits into from
Feb 17, 2022

Conversation

tammy-baylis-swi
Copy link
Contributor

These are custom-distro updates to use W3C-related liboboe features that were added after Martin's departure.

(1)
Updates transform_id in the Python custom-distro to create a W3C-style trace context because liboboe can now accept these for Metadata::fromString creation. No need for AO 2B context on the agent side.

With this change the testbed can report traces to:

AO staging, through java-collector proxy

NH staging (dc-01), through java-collector proxy
This can be queried using the GraphQL playground
traceId: A46AFE5BEA66C9FFC2A2CCC5C95AE039

NH staging (dc-01) directly
This can be queried using the GraphQL playground
traceId: BC93DC63C3B7E54D5AEBF2D9F99DAEC1

(2)
Reporter init by the SolarWindsSpanExporter is done with w3c_trace_format=1 which works for export of traces to AO or NH (i.e. the above examples).

(3)
I don't test with the otel-oboe repo anymore because it is so far behind liboboe. Therefore the readme, Makefile, shell script all point to a local checked-out liboboe that should be on the experimental branch I'm working off of: https://github.com/librato/oboe/compare/add-otel-oboe-features

Copy link
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @tammy-baylis-swi!

@tammy-baylis-swi tammy-baylis-swi merged commit eb28470 into main Feb 17, 2022
@tammy-baylis-swi tammy-baylis-swi deleted the switch-to-main-liboboe branch February 17, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants