{"id":15137040,"url":"https://github.com/kevinmichaelchen/aws-lambda-go-otel-poc","last_synced_at":"2026-01-21T17:01:59.903Z","repository":{"id":243544311,"uuid":"812701016","full_name":"kevinmichaelchen/aws-lambda-go-otel-poc","owner":"kevinmichaelchen","description":"Proof of Concept using AWS Lambda, Go, OpenTelemetry (OTel), as well as Tailcall as an alternative to AppSync Serverless GraphQL","archived":false,"fork":false,"pushed_at":"2024-06-10T02:19:15.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T23:34:05.640Z","etag":null,"topics":["aws","aws-lambda-go","go","graphql","lambda","opentelemetry","otel","tailcall"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinmichaelchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T16:28:19.000Z","updated_at":"2024-06-11T00:37:39.000Z","dependencies_parsed_at":"2024-09-21T11:01:57.070Z","dependency_job_id":null,"html_url":"https://github.com/kevinmichaelchen/aws-lambda-go-otel-poc","commit_stats":null,"previous_names":["kevinmichaelchen/aws-lambda-go-otel-poc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevinmichaelchen/aws-lambda-go-otel-poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Faws-lambda-go-otel-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Faws-lambda-go-otel-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Faws-lambda-go-otel-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Faws-lambda-go-otel-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinmichaelchen","download_url":"https://codeload.github.com/kevinmichaelchen/aws-lambda-go-otel-poc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Faws-lambda-go-otel-poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28636636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-lambda-go","go","graphql","lambda","opentelemetry","otel","tailcall"],"created_at":"2024-09-26T06:43:05.204Z","updated_at":"2026-01-21T17:01:59.867Z","avatar_url":"https://github.com/kevinmichaelchen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lambda-go-otel-poc\n\nProof of concept using [aws-lambda-go][aws-lambda-go] and [OpenTelemetry][otel].\n\nThis may interest you if you use AWS, Lambdas, Golang, and OpenTelemetry … or \nif you're looking to emulate [AppSync Serverless GraphQL][appsync] locally and \ndo not wish to pay for a [LocalStack][localstack] license.\n\n[appsync]: https://aws.amazon.com/appsync/\n[aws-lambda-go]: https://github.com/aws/aws-lambda-go\n[localstack]: https://docs.localstack.cloud/user-guide/aws/appsync/\n[otel]: https://opentelemetry.io/\n\n## Getting started\n\n### Step 0: Prerequisites\n\nAll you need is [Docker][docker] and [pkgx][pkgx].\n\n[docker]: https://www.docker.com/\n[pkgx]: https://pkgx.sh/\n\n### Step 1: Run everything\n\n```shell\npkgx task@latest run\n```\n\n### Step 2: Invoking the Lambda\n\n#### (With the CLI)\n\n```shell\npkgx awslocal@latest \\\n  lambda invoke \\\n    --function-name my-lambda \\\n    --cli-binary-format raw-in-base64-out \\\n    --payload '{\"body\": \"{\\\"id\\\": \\\"10\\\"}\" }' \\\n    output.txt\n```\n\n#### (With HTTP)\n\n```shell\npkgx http \\\n  http://localhost:4566/2015-03-31/functions/my-lambda/invocations \\\n  id=\"4\"\n```\n\n#### (With GraphQL)\n\n```graphql\nmutation {\n  invokeLambda(input: {id: \"1\"}) {\n    id\n  }\n}\n```\n\n### Step 3: Viewing the trace\n\nOpen the [Jaeger UI][jaeger-ui].\n\n[jaeger-ui]: http://localhost:16686\n\n## Miscellaneous\n\n### Remaining Questions\n\n- **ADOT**: Do we need to use the AWS Distro of OTel Collector?\n\n## Environment Variables\n\nThe default OTel env vars should be fine.\n\nSee their [“OTLP Exporter Configuration” guide][guide].\n\n[guide]: https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmichaelchen%2Faws-lambda-go-otel-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinmichaelchen%2Faws-lambda-go-otel-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmichaelchen%2Faws-lambda-go-otel-poc/lists"}