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

issue-5230 add traceid and spanid to decision log. #473

Merged

Conversation

be-a-bee
Copy link
Contributor

No description provided.

@@ -49,6 +49,8 @@ const exampleAllowedRequest = `{
"x-b3-sampled": "1",
"x-b3-spanid": "537f473f27475073",
"x-b3-traceid": "537f473f27475073",
"traceparent" : "00-0000000000000000f7bea0490c3cb268-b9543a567b0289f8-01",
"tracestate" : "rojo=00f067aa0ba902b7",
Copy link
Member

Choose a reason for hiding this comment

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

If you're not using this, please remove.

Copy link
Member

@ashutosh-narkar ashutosh-narkar left a comment

Choose a reason for hiding this comment

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

Hey @be-a-bee just one small comment. We can then merge this. Thanks!

@be-a-bee be-a-bee force-pushed the issue_5230_be_a_bee branch from f63ad51 to 9576408 Compare October 24, 2023 05:51
@be-a-bee
Copy link
Contributor Author

@ashutosh-narkar , thank you. addressed your comment. please review

var found bool

for _, entry = range consoleLogger.Entries() {
//t.Log(entry.Message)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: We should remove this.

Copy link
Member

@ashutosh-narkar ashutosh-narkar left a comment

Choose a reason for hiding this comment

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

The changes lgtm. Just one small comment. Thanks @be-a-bee!

@be-a-bee be-a-bee force-pushed the issue_5230_be_a_bee branch from 9576408 to ce1f034 Compare October 25, 2023 09:11
@be-a-bee
Copy link
Contributor Author

@ashutosh-narkar , thank you for your prompt response.

I addressed it. please take a look

Signed-off-by: talip <47842333+be-a-bee@users.noreply.github.com>
Signed-off-by: Praneeth Talishetti <47842333+be-a-bee@users.noreply.github.com>
Copy link
Member

@ashutosh-narkar ashutosh-narkar left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @be-a-bee!

@ashutosh-narkar ashutosh-narkar merged commit a29ced1 into open-policy-agent:main Oct 25, 2023
8 checks passed
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