DataDog / dd-trace-py

Datadog Python APM Client
https://ddtrace.readthedocs.io/
Other
532 stars 408 forks source link

GCP cloud function support #10115

Open michaelCTS opened 1 month ago

michaelCTS commented 1 month ago

There is code mentioning them, that a mini-tracer is spun up, but https://docs.datadoghq.com/serverless/distributed_tracing/ is "Distributed Tracing with AWS Lambda Serverless Applications".

Is the documentation out of date? Are Cloud Functions supported? Or is support planned?

We tested APM on cloud functions more than half a year ago IIRC and they didn't work. The documentation hasn't changed, hence the question.

emmettbutler commented 1 month ago

Thanks for asking, @michaelCTS. I believe this library attempts to support GCP cloud functions, and that there may not be enough test coverage of that functionality.

@duncanista may know the more up-to-date state of non-Lambda FaaS support.

triwats commented 3 weeks ago

Also interested in this question - seems that Google Cloud Run is supported but not Google Cloud Run Functions.

duncanista commented 1 day ago

Hey sorry – I work on the Serverless AWS side, but I'll share this with the respective Serverless GCP team. I think they are working on this, sorry for the late reply. I just saw this.

brandondatadog commented 20 hours ago

Hi @michaelCTS, we're currently running a private beta program for Cloud Run Functions tracing. I don't have a private beta website link up for it yet, but if you contact your Datadog CSM and send them my name we'll be able to get you up and running