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
1
vote
1 answer

Datastore calls in Trace Golang

when I was using go111, I had traces of all my Datastore calls (similar to image below). But as soon as I upgraded to go115 and started using cloud.google.com/go/datastore, I lost this information completely. I tried to set up telemetry by adding in…
1
vote
0 answers

Traces not propagating to GCP Cloud Trace from spring boot application

I have a spring boot microservice which consumes and publishes messages from/to PubSub and is deployed on GKE. I am using spring stream binder for pubsub integration and Cloud Sleuth for generating traceId and spanId. TraceId and spanId are…
1
vote
1 answer

How to create an OpenTelemetry span from ctx in gRPC server stub

My Go gRPC server is instrumented with Google Tracing span exporter: import texporter "github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace" ... gcp, err := texporter.NewExporter() ... tracer :=…
ahmet alp balkan
  • 42,679
  • 38
  • 138
  • 214
1
vote
0 answers

How can I trace gcp pubsub like tracing an HTTP request?

I have multiple apps written in nodejs. I am trying to monitor the apps using google-trace. I am able to get traces successfully for the HTTP requests. But I have some apps which are pulling events from pubsub subscriptions, so that is out of the…
Luv33preet
  • 1,686
  • 7
  • 33
  • 66
1
vote
1 answer

Google Cloud Trace doesn't correlate logs from Spring Boot applications using Sleuth

I've recently upgraded my applications to Spring Boot 2.4.2, Cloud 2020.0.0, changing Spring Cloud GCP dependencies following the migration guide:…
1
vote
1 answer

Google cloud trace + Gcloud logging in logs viewer

I've stuck with problem with google cloud logging and google cloud trace using google cloud kubernetes I've the application which consumes gcloud pubsub topic and I want to unify logs in trace of every pubsub message handle func call My Gcloud…
1
vote
0 answers

Is there something limitation for Cloud Trace on Cloud Run?

I'm building microservices on Cloud Run with Java. So, I want to use CloudTrace for these services. But it doesn't work as I expected. A DeadlineExceededException is raised. I can run same services on my local PC. And in that time, it's no problem.…
1
vote
1 answer

Google Cloud trace Custom trace only works a few times

I have activated Google Cloud Tracer with nodejs & express, works well in automatic mode, registers calls to the api correctly. I try to create a trace manually, to know the execution time of intermediate steps. controller (req, res) { …
1
vote
1 answer

Is it possible to request tracing from Google Cloud services?

I have a custom gRPC backend deployed behind an Endpoints Service Proxy (ESP) connected to Google Cloud Endpoints. When sending a request with the X-Cloud-Trace-Context header set, I can see the spans recorded by ESP show up in my Stackdriver Trace…
1
vote
1 answer

Can I use google-cloud-trace times in google-cloud-monitoring?

I'm using google cloud tracing. It's recording the time my API's take to execute - which is working well. Is it possible to setup explicit monitoring on that using google cloud monitoring? IE, setup a notification if I go over a threshold?
BigBen
  • 1,162
  • 2
  • 11
  • 22
1
vote
2 answers

Google Cloud Functions with Trace Agent connection

I need to connect monitoring and tracing tools for our application. Our main code is on Express 4 running on Google Cloud Functions. All requests incoming from front nginx proxy server that handle domain and pretty routes names. Unfortunately, trace…
1
vote
1 answer

minimal stackdriver trace client usage failing

Here's a minification of using the stackdriver trace go client package. It seems like this trivial example should work but it produces an error. package main import ( "context" "flag" "log" "net/http" …
tmc
  • 716
  • 7
  • 15
1
vote
1 answer

Using google cloud trace API

I am attempting to use the grpc client for the Stackdriver/google cloud trace definition at https://github.com/googleapis/googleapis/blob/master/google/devtools/cloudtrace/v1/trace.proto I am sending the protobuf for the traces { traces { …
0
votes
0 answers

httpx + opentelemetry + cloud trace: GCP strips x-cloud-trace-context, possible to inject?

I'm working on an API that queries several APIs. My API is instrumented with opentelemetry. I also have a httpx client that is also instrumented. My API queries the other APIs with this httpx client. For most of the APIs I'm talking to, the httpx…
0
votes
0 answers

How to disable request tracing in Google Cloud Trace?

I have a spring boot module which had been running on Google Cloud Run for more than an year now, which was enabled with Google Cloud Trace till date. I no longer want to collect the trace data and want to permanently disable the trace collection on…