Skip to content

EnvoyCarrier v2 #43

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 11 commits into from
Feb 27, 2017
Merged

EnvoyCarrier v2 #43

merged 11 commits into from
Feb 27, 2017

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Feb 24, 2017

No description provided.

@jmacd jmacd changed the title EnvoyCarrier v23 EnvoyCarrier v2 Feb 24, 2017
Copy link

@frenchfrywpepper frenchfrywpepper left a comment

Choose a reason for hiding this comment

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

LGTM

@jmacd
Copy link
Contributor Author

jmacd commented Feb 25, 2017

PTAL. With the new encoding and your prior example values, I have the base64 value hard-coded in the new carrier_test.cc.

}

// Test extraction of a well-known input, for validation with other libraries.
const char same_data64[] = "EigJOjioEaYHBgcRNmifUO7/xlgYASISCgdjaGVja2VkEgdiYWdnYWdl";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As seen here.

throw error("incorrect trace_id");
}
if (same_basic.basic_ctx().sampled() != true) {
throw error("incorrect trace_id");

Choose a reason for hiding this comment

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

Invalid error message

throw error("incorrect trace_id");
}
if (same_basic.basic_ctx().span_id() != 6397081719746291766L) {
throw error("incorrect trace_id");

Choose a reason for hiding this comment

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

Invalid error message

@jmacd jmacd merged commit f1dc8f3 into master Feb 27, 2017
@jmacd jmacd deleted the jmacd/envoy_carrier_v2 branch February 27, 2017 18:55
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.

2 participants