open-telemetry / open-telemetry/opentelemetry-python-contrib
Add support for Google Cloud Functions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 1.1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 16
Description
What problem do you want to solve?
Since OpenTelemetry is widely used in serverless applications, adding instrumentation for GCF would improve usability.
While an aws_lambda instrumenter already exists, there is no equivalent for Google Cloud Functions, which is widely used for serverless deployments. Providing this support would help OpenTelemetry users monitor and trace their workloads in Google Cloud Functions with the same level of insight as AWS Lambda.
Describe the solution you'd like
- Create a new instrumenter for Google Cloud Functions. Similar to what's already available in aws_lambda instrumenter
- Add tests
Additional Context
- Related Google Cloud resources: https://cloud.google.com/functions/docs/concepts/overview
- Existing aws_lambda instrumenter implementation
Would you like to implement a fix?
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing aws_lambda instrumenter at instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/init.py and the linked Google Cloud Functions overview. Define the new Google Cloud Functions instrumenter and add tests, with completion meaning equivalent tracing support for Google Cloud Functions and passing coverage for the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, python
- Domain
- cloud, observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100