GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — We are writing "trace_id" label, but when searching for request log lines, Stackdriver sends requests looking for "appengine.googleapis.com/trace_id". · Issue #2009 · googleapis/google-cloud-java

We are writing "trace_id" label, but when searching for request log lines, Stackdriver sends requests looking for "appengine.googleapis.com/trace_id".  #2009

New issue
Copy link
New issue
Copy link
Closed
Closed
We are writing "trace_id" label, but when searching for request log lines, Stackdriver sends requests looking for "appengine.googleapis.com/trace_id". #2009
Copy link
Assignees
jabubake
Labels
api: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.

Description

@bmenasha
bmenasha
opened on Apr 26, 2017
Issue body actions

The com.google.cloud.logging.TraceLoggingEnhancer class adds the label "trace_id" , but when looking up log lines for the selected request by trace ID the Stackdriver wen UI sends a query for "appengine.googleapis.com/trace_id" . The mismatch causes request logs to NOT show when selecting the log line from the nginx.request request log.

Can we resolve this discrepancy by using "appengine.googleapis.com/trace_id" or work with Stackdriver to use the field we are writing?

Here is the filter query sent by the Stackdriver API when viewing an Nginx request log:

resource.type="gae_app"
resource.labels.project_id="bmenasha-1"
resource.labels.version_id="20170426t115924"
resource.labels.module_id="default"
labels."appengine.googleapis.com/trace_id"="be90be962109bc6d4fa4c2cbd42d0d6a"
logName!="projects/bmenasha-1/logs/appengine.googleapis.com%2Fnginx.request"
timestamp>="2017-04-26T16:46:45.230867286Z"
timestamp<="2017-04-26T16:47:48.290867286Z"

Thanks

Activity

  1. garrettjonesgoogle
    added
    api: loggingIssues related to the Cloud Logging API.
    on Apr 28, 2017
  2. garrettjonesgoogle
    assigned
    jabubake
    on Apr 28, 2017
  3. jabubake commented on Apr 28, 2017

    @jabubake
    jabubake
    on Apr 28, 2017
    Contributor
    More actions

    FYI, #2011 addresses this. I've decided to take up the possible renaming to "trace_id" in a separate PR.

  4. tcoffee-google
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 22, 2017
  5. jabubake
    closed this as completedon May 24, 2017
  6. chingor13
    added a commit that references this issue on Feb 20, 2026

    chore(main): release 2.32.1 (#2009)

    f03ffc7
  7. meltsufin
    added 3 commits that reference this issue on Apr 29, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    da37177

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    6a44618

    deps: update opentelemetry.version to v1.47.0 (#2009)

    9c97c31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jabubake
    jabubake

Labels

api: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.