Title: TraceLoggingEnhancer sets trace ID in the wrong field · Issue #3280 · googleapis/google-cloud-java · GitHub
Open Graph Title: TraceLoggingEnhancer sets trace ID in the wrong field · Issue #3280 · googleapis/google-cloud-java
X Title: TraceLoggingEnhancer sets trace ID in the wrong field · Issue #3280 · googleapis/google-cloud-java
Description: The trace ID of a log entry is being set in the wrong field (label). In order for the log entries to be linked to the trace, the TraceLoggingEnhancer needs to look something like this. Use setTrace(), not setLabel() Use a project/myProje...
Open Graph Description: The trace ID of a log entry is being set in the wrong field (label). In order for the log entries to be linked to the trace, the TraceLoggingEnhancer needs to look something like this. Use setTrace...
X Description: The trace ID of a log entry is being set in the wrong field (label). In order for the log entries to be linked to the trace, the TraceLoggingEnhancer needs to look something like this. Use setTrace...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/3280
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TraceLoggingEnhancer sets trace ID in the wrong field","articleBody":"The trace ID of a log entry is being set [in the wrong field](https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/TraceLoggingEnhancer.java#L61) (label).\r\n\r\nIn order for the log entries to be linked to the trace, the `TraceLoggingEnhancer` needs to look something like [this](https://github.com/spring-cloud/spring-cloud-gcp/pull/683/files#diff-808bd3f7c7330cf558cdec7c5f754906).\r\n1) Use `setTrace()`, not `setLabel()`\r\n2) Use a `project/myProjectId/traces/myTraceId` format.","author":{"url":"https://github.com/joaoandremartins","@type":"Person","name":"joaoandremartins"},"datePublished":"2018-05-16T20:57:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3280/google-cloud-java/issues/3280"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d3c97a96-ddcb-0d8d-3b5b-6d8438875214 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB96:7BA45:1472F7:1D6218:6A4CFCB2 |
| html-safe-nonce | 12e73d952385e5821bcd663a34fe0e904fd694c8bc40e1cb222ae19ff392437c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjk2OjdCQTQ1OjE0NzJGNzoxRDYyMTg6NkE0Q0ZDQjIiLCJ2aXNpdG9yX2lkIjoiMTI4NTAyODIwNjQyNDY4NTc0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f11dc737f45f1bec3b52e4136089b0e470d00167d09ab435578bd1592342e924 |
| hovercard-subject-tag | issue:323784150 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/3280/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6552fca491d4d111ca007d6185ebe7d5b3b5f1edee8ab61f21ca783c0fc14754/googleapis/google-cloud-java/issues/3280 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6552fca491d4d111ca007d6185ebe7d5b3b5f1edee8ab61f21ca783c0fc14754/googleapis/google-cloud-java/issues/3280 |
| og:image:alt | The trace ID of a log entry is being set in the wrong field (label). In order for the log entries to be linked to the trace, the TraceLoggingEnhancer needs to look something like this. Use setTrace... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joaoandremartins |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8307e9ba117a26e92a64fb1daf085d795a6552ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width