-
Notifications
You must be signed in to change notification settings - Fork 33
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
TraceLoggingEnhancer.setCurrentTraceId is not in correctly formatted. #243
Comments
bmenasha
changed the title
traceId is not in correct format.
TraceLoggingEnhancer.setCurrentTraceId is not in correct formated.
Dec 10, 2018
bmenasha
changed the title
TraceLoggingEnhancer.setCurrentTraceId is not in correct formated.
TraceLoggingEnhancer.setCurrentTraceId is not in correctly formatted.
Dec 10, 2018
gregw
added a commit
that referenced
this issue
Dec 10, 2018
Updated traceId format for TraceLoggingEnhancer Signed-off-by: Greg Wilkins <[email protected]>
Thank you very much for the fix Greg! |
gregw
added a commit
that referenced
this issue
Jan 16, 2019
Signed-off-by: Greg Wilkins <[email protected]>
@bmenasha I'm having some issues with testing a custom image, sop hopefully once they are sorted it will be good to go. |
gregw
added a commit
that referenced
this issue
Mar 1, 2019
* Issue #243 Updated traceId format for TraceLoggingEnhancer Signed-off-by: Greg Wilkins <[email protected]> * Issue #243 use API to discover projectId Signed-off-by: Greg Wilkins <[email protected]>
PR #244 has been merged, can this issue be closed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The class RequestContextScope.java class is not formatting the traceId correctly. According to the javadoc the TraceLoggingEnhancer.setCurrentTraceId expects projects/[PROJECT_ID]/traces/[TRACE_ID], while we are just supplying [TRACE_ID] within https://github.com/GoogleCloudPlatform/jetty-runtime/blob/master/jetty9-base/src/main/java/com/google/cloud/runtimes/jetty9/RequestContextScope.java
This was changed in the logging library with this pull request:
googleapis/google-cloud-java#3301
For more information see this blog post: https://cloud.google.com/blog/products/gcp/viewing-trace-spans-and-request-logs-in-multi-project-deployments
Thanks
The text was updated successfully, but these errors were encountered: