{"id":26633667,"url":"https://github.com/lambtron/otel-deno-node","last_synced_at":"2026-04-19T19:33:08.387Z","repository":{"id":281087226,"uuid":"944165408","full_name":"lambtron/otel-deno-node","owner":"lambtron","description":"Showing how to instrument OTEL in Deno and Node projects.","archived":false,"fork":false,"pushed_at":"2025-03-13T16:18:21.000Z","size":141,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T05:02:48.781Z","etag":null,"topics":["deno","grafana","loki","nodejs","otel","tempo"],"latest_commit_sha":null,"homepage":"https://deno.com/blog/otel-tracing-in-node-and-deno","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lambtron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-03-06T22:27:20.000Z","updated_at":"2025-04-12T10:19:26.000Z","dependencies_parsed_at":"2025-06-06T05:02:50.613Z","dependency_job_id":"7bf1d12b-27d4-4830-94b3-2b2a6baeb9e5","html_url":"https://github.com/lambtron/otel-deno-node","commit_stats":null,"previous_names":["lambtron/otel-deno-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lambtron/otel-deno-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambtron%2Fotel-deno-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambtron%2Fotel-deno-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambtron%2Fotel-deno-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambtron%2Fotel-deno-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambtron","download_url":"https://codeload.github.com/lambtron/otel-deno-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambtron%2Fotel-deno-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32020638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["deno","grafana","loki","nodejs","otel","tempo"],"created_at":"2025-03-24T15:16:01.967Z","updated_at":"2026-04-19T19:33:08.363Z","avatar_url":"https://github.com/lambtron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OTEL in Deno vs. Node\n\nThis project is accompanied by the blog post\n[\"How to get deep traces in your Node.js backend with OTel and Deno\"](https://deno.com/blog/otel-tracing-in-node-and-deno).\n\n## Node\n\nIn `./node-express-otel`,\n\nRun the app:\n\n```bash\nnpm run start\n```\n\nRun OTEL LGTM stack:\n\n```bash\ndocker run --name lgtm -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti \\\n    -v \"$PWD\"/lgtm/grafana:/data/grafana \\\n    -v \"$PWD\"/lgtm/prometheus:/data/prometheus \\\n    -v \"$PWD\"/lgtm/loki:/data/loki \\\n    -e GF_PATHS_DATA=/data/grafana \\\n    docker.io/grafana/otel-lgtm:0.8.1\n```\n\nGo to `localhost:3000` to view Grafana.\n\n## Deno\n\nIn `./deno-express`:\n\nRun the app:\n\n```bash\n# Run app without sending OTEL data\ndeno task start\n\n# Run app sending OTEL data\ndeno task otel\n```\n\nRun OTEL LGTM stack:\n\n```bash\ndocker run --name lgtm -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti \\\n    -v \"$PWD\"/lgtm/grafana:/data/grafana \\\n    -v \"$PWD\"/lgtm/prometheus:/data/prometheus \\\n    -v \"$PWD\"/lgtm/loki:/data/loki \\\n    -e GF_PATHS_DATA=/data/grafana \\\n    docker.io/grafana/otel-lgtm:0.8.1\n```\n\nGo to `localhost:3000` to view Grafana.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambtron%2Fotel-deno-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambtron%2Fotel-deno-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambtron%2Fotel-deno-node/lists"}