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
0
votes
0 answers

Sending trace context (parent) to another system to have end to end tracing across systems

I have two systems with request flow going from system A <-> system B, the two systems communicate via PubSub. System A is written in Golang and uses OpenCensus for tracing System B is written in Java and uses OpenTelemetry for tracing (it passes…
0
votes
0 answers

Can I instrument Firebase Functions V1 with OpenTelemetry to analyse traces in Cloud Trace? If yes how?

I have many v1 cloud functions. Written in typescript and running on NodeJS 18. Deployed with "firebase deploy functions". Completely server-less. If I open Cloud Trace ( https://console.cloud.google.com/traces ), I find all my functions, but there…
0
votes
0 answers

TraceContext Propagation from Apigee Proxy to Google Cloud Function

I have recently started exploring Google Cloud trace and wanted to trace all the hops a request goes through during its lifecycle. I have an app which calls Apigee Proxy which in turn calls a Google Cloud Function before returning response. Enabled…
0
votes
1 answer

Google Cloud Tracing in a .net 6 (or at least .net core 3+) Console App

I've been trying to implement Cloud Trace in a .net 6 Console App that works as a listener for events coming through a Publisher Subscriber pattern. I have been following Googles docs for their Diagnostics NuGet…
0
votes
1 answer

How to add a label to traces created by the AddOutgoingGoogleTraceHandler extension method?

I am using Google.Cloud.Diagnostics.AspNetCore v4.3.0. I use AddOutgoingGoogleTraceHandler to trace every outgoing HTTP request of a given HTTP client and I want to add a custom label to every trace created by this method. From what I understood, it…
0
votes
1 answer

Filtering information in Google Cloud Traces from different gke clusters in same GCP project

I have one GCP project in which there are two GKE clusters, one for development and preproduction workloads and another one for production. I am using Google Cloud Trace to correlate the information of the different Spring Boot microservice…
0
votes
1 answer

Adding detailed request information in Google Cloud Trace

I'm building a Spring Boot application that's deployed on Google App Engine. To find out the cause of some weird latency issues, I figured I'd enable Google Cloud Trace to view detailed latency reports. Adding basic tracing was simple enough since…
0
votes
1 answer

Initial Traces created by Spring-Cloud-Gateway are all named "/", no matter the path

I've integrated sleuth into my application gateway and the services behind it. The traces in Stackdriver (GKE) look good but the root-span is always named "/". For example: The second span is also created by the gateway and has a much better…
0
votes
1 answer

Finding untraced time in Google Cloud Tracer Agent for Express.js

I'm using Google Cloud's Stackdriver Trace Agent with the Express.js plugin. I noticed there are a few routes which have substantial "untraced" time. What strategies can I use to find and begin to measure these untraced paths, and why would it not…
d-_-b
  • 21,536
  • 40
  • 150
  • 256
0
votes
1 answer

How to get number of calls for a trace

I've added traces to measure execution of some code running on GCP. The traces appear in trace list on StackDriver page and I can see their duration. What I cannot find is number of times reach traces was issued. Where does this number appear?
leonidnei
  • 223
  • 2
  • 10
0
votes
1 answer

Installing and using version 1 of google cloud trace api client for python

I'm trying to write a script to extract Stackdriver Trace information to load into big query and I'm having trouble installing the python client library. I need version 1 of the library to access the data, but when I install google-cloud-trace it…
0
votes
0 answers

Trace agent do not pick up on pubsub subscription messages

We are trying to set up trace across a number of node.js microservices. node v10.14.2 google-cloud/pubsub v0.19.1 google-cloud/trace-agent v3.5.0 Services got http endpoint and pubsub integrtion. All services are talking to each other via…
Andrinux
  • 364
  • 5
  • 9
0
votes
0 answers

What is the maximum span.status.message size allowed?

While experimenting with the v2 batchWrite API i was able to write status messages as long as 5KB. Does google enforce a maximum? Everything other trace field seems to be very tightly restricted to 128B/256B.
Tomer
  • 3
  • 2
0
votes
1 answer

How to get google trace to visually indicate spans with errors

Some spans reported to google trace represent method calls that ended in an error. Is there a way to get google trace to visually set these spans apart from success spans (a different color, an error icon similar to AWS xray...)? I tried setting…
Tomer
  • 3
  • 2
0
votes
0 answers

viewing stackTrace in the UI?

When i try to add a stackTrace to my spans, i get the following results: Adding stackTrace to a parent span results in an empty "Callstack" section in the UI (parent stackTrace) Adding stackTrace to a child span results in a "/stackTrace" attribute…
Tomer
  • 3
  • 2