Topic 1 Question 208
You have recently instrumented a new application with OpenTelemetry, and you want to check the latency of your application requests in Trace. You want to ensure that a specific request is always traced. What should you do?
Wait 10 minutes, then verify that Trace captures those types of requests automatically.
Write a custom script that sends this type of request repeatedly from your dev project.
Use the Trace API to apply custom attributes to the trace.
Add the X-Cloud-Trace-Context header to the request with the appropriate parameters.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: D
D is the answer.
https://cloud.google.com/trace/docs/setup#force-trace Cloud Trace doesn't sample every request.
To force a specific request to be traced, add an X-Cloud-Trace-Context header to the request.
👍 2zellck2022/12/12 - 正解だと思う選択肢: D
To force a specific reqhttps://cloud.google.com/trace/docs/setup#force-trace request to be traced, add an X-Cloud-Trace-Context header to the request.
👍 1TNT872022/12/19
シャッフルモード