DataDog / dd-trace-py

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

GCP cloud function support #10115

Open michaelCTS opened 2 months ago

michaelCTS commented 2 months 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 2 months 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 2 months ago

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

duncanista commented 1 month 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 1 month 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

michaelCTS commented 1 month ago

Thanks for the information @brandondatadog. I've reached out internally and it doesn't look like we'll be joining the beta for now. We will probably revisit the issue later.

Cheers