open-telemetry / open-telemetry/opentelemetry-python-contrib

Add support for Google Cloud Functions

Open
#3,209 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
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
Would you like to implement a fix?

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.