Questions tagged [google-cloud-trace]

Google Cloud Trace is a feature of the Google Cloud Platform that allows you to view the RPCs (remote procedure calls) invoked by your App Engine application and to view and analyze the time taken to complete each RPC.

Google Cloud Trace is a feature of the Google Cloud Platform that allows you to view the RPCs (remote procedure calls) invoked by your App Engine application and to view and analyze the time taken to complete each RPC.

An App Engine RPC is a round trip network call between your application and an App Engine service. For example, each of these calls made by a Python application result in RPCs:

  • Datastore calls such as db.get(), db.put(), or db.query().
  • Memcache calls such as memcache.get(), or memcache.get_multi().
  • URL Fetch calls such as urlfetch.fetch().

See documentation for more information.

68 questions
6
votes
2 answers

How to choose an Opentelemetry backend vendor?

With Opentelemetry becoming the new standard of tracing, and it being vendor-agnostic, how do we then choose a backend vendor for opentelemetry? For example, there are currently many vendors that supports Opentelemetry like GCP Cloudtrace, Datadog,…
6
votes
2 answers

How can I manually specify a X-Cloud-Trace-Context header value to and correlate and trace logs in separate Cloud Run requests?

I'm using Cloud Run and Cloud Tasks to do some async processing of webhooks. When I get a request to my Cloud Run service, I queue up a task in my Cloud Tasks queue and return a response from my service immediately. Cloud Tasks will then trigger my…
5
votes
0 answers

Filtering out specific http api calls from open telemetry java agent instrumentation

I'm using the open telemetry java agent as documented here to instrument a Java Spring Boot application and export the traces to Google Cloud Trace. My command is : java \ -javaagent:/opentelemetry/opentelemetry-javaagent.jar \ …
singe3
  • 2,065
  • 4
  • 30
  • 48
5
votes
2 answers

OpenTelemetry Python - How to instanciate a new span as a child span for a given trace_id

My goal is to perform tracing of the whole process of my application through several component. I am using GCP and Pub/Sub message queue to communicate information between components (developped in Python). I am currently trying to keep the same…
5
votes
1 answer

How to tracing a request through a chain of microservices end-to-end?

I am using OpenCensus in Go to push tracing data to Stackdriver for calls involving a chain of 2 or more micro services and I noticed that I get many traces which contain spans only for certain services but not the entire end to end call. At the…
5
votes
0 answers

Stackdriver does not show proper level for the logs written using slf4j with log4j2

I have a web application deployed on GAE. I am using log4j2 implementation of SLF4j for logging purpose. I can see all my logs on stackdriver console. But the level for all my logs is shown as info under stackdriver. It's not categorized properly…
4
votes
2 answers

Trace Propagation on Google Cloud Run with OpenTelemetry

I have a Flask app talking to a Python gRPC service, both deployed on Google Cloud Run. I can see traces on Google Trace after instrumenting the apps, but they all appear to have different Trace IDs which means the traces are not being linked…
3
votes
2 answers

Open-Telemetry spans not showing up in GCP Cloud Trace

I am instrumenting a node.js service in Google Cloud Platform's Cloud Run. I'm running into a problem where custom spans are not showing up in Trace. I know that tracing is working because HTTP/TCP spans (which you get for free in GCP) are showing…
3
votes
1 answer

How to use Stackdriver Trace to create custom spans in App Engine Standard?

I try to add custom spans and annotations to an AppEngine Standard application. In the Traces page of the GCP console, I see the default spans but not the custom spans that I have added. I follow the documentation:…
3
votes
1 answer

Google Cloud Trace 192.168.1.1

In the Trace page of Google Cloud Console I can see address 192.168.1.1 which takes a lot of time to execute. What is this address? From where? Is it from internal cloud's infrastructure? Or is it mine local address (if it possible)?
3
votes
1 answer

Why aren't my queries and batch gets executed in parallel?

Based on the documentation for Objectify and Google Cloud Datastore, I would expect the queries and the batch loads in the following code to execute in parallel: List>> results = new ArrayList<>(); for (...) { …
3
votes
3 answers

How to request a trace with google cloud-trace

Google Cloud has a powerful tracing tool for analyzing latency of requests and RPCs. But it seems to just pick some requests that it finds deserving of traces. Sometimes that's good enough, you can just browse through existing traces. But if…
3
votes
1 answer

Does AppEngine Cloud Trace require AppStats?

Google's AppEngine has upgraded their Developer's Console and it includes a monitoring tool called Cloud Trace. Is this an improved version of the AppStats profiling tool? If so, can I remove the configuration files that were previously required,…
2
votes
1 answer

GCP Cloud Run: how to monitor latency per path/URI?

I have REST API running on GCP Cloud Run. I would like to monitor latency / response time, grouped per path (URI), so that I can spot paths that have bad response times. For instance, let say I have 3 paths, I would like to see some metrics…
2
votes
0 answers

Google Cloud : X-Cloud-Trace-Context different from app log traceId

I have a spring boot app that's deployed in google cloud and I face a rather odd problem. The X-Cloud-Trace-Context is set by google (load balancer I suppose) but the traceId of the app level logs have a different traceId (different from the one I…
1
2 3 4 5