I am running a Java application on Google App Engine standard environment.
Looking at the logs (in particular request_log
), I can see a couple of interesting IDs such as trace_id
and request_id
for each request.
Couple of questions:
- How are they different? Are they unique?
- How to obtain them in application code (for the current request)? I would like to log them to a different Stackdriver dataset and be able to correlate the data