{"id":18508096,"url":"https://github.com/imqueue/dd-trace","last_synced_at":"2026-02-05T06:03:16.735Z","repository":{"id":42925542,"uuid":"243269455","full_name":"imqueue/dd-trace","owner":"imqueue","description":"Integration package with Datadog tracing for @imqueue","archived":false,"fork":false,"pushed_at":"2024-11-08T11:39:17.000Z","size":154,"stargazers_count":1,"open_issues_count":18,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T17:58:26.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imqueue.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":"2020-02-26T13:30:07.000Z","updated_at":"2024-11-08T11:39:20.000Z","dependencies_parsed_at":"2025-04-22T13:18:57.554Z","dependency_job_id":"1a36f8ba-2c6b-4b4a-a804-cb89a11c7754","html_url":"https://github.com/imqueue/dd-trace","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/imqueue/dd-trace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fdd-trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fdd-trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fdd-trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fdd-trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imqueue","download_url":"https://codeload.github.com/imqueue/dd-trace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fdd-trace/sbom","scorecard":{"id":486283,"data":{"date":"2025-08-11","repo":{"name":"github.com/imqueue/dd-trace","commit":"08669e68d2a6f0f10c82d53aad0fe7d40d45982f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-7q7g-4xm8-89cq","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T17:54:09.404Z","repository_id":42925542,"created_at":"2025-08-19T17:54:09.404Z","updated_at":"2025-08-19T17:54:09.404Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29114500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: 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":[],"created_at":"2024-11-06T15:13:22.421Z","updated_at":"2026-02-05T06:03:16.713Z","avatar_url":"https://github.com/imqueue.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003e@imqueue/dd-trace\u003c/h1\u003e\n\u003chr\u003e\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003eIntegration package with Datadog tracing for @imqueue\u003c/strong\u003e\n\u003c/p\u003e\n\u003chr\u003e\n\n## What Is This?\n\nThis library provides a clean way to integrate \n[@imqueue/rpc](https://github.com/imqueue/rpc) with \n[Datadog](https://www.datadoghq.com/) \n[tracing](https://www.npmjs.com/package/dd-trace).\n\n## Install\n\nAs easy as:\n\n~~~bash\nnpm i --save @imqueue/dd-trace\n~~~ \n\n## Usage \u0026 API\n\n### Importing, instantiation and connecting\n\nAt the top of your entry file (service or client):\n\n~~~typescript\nimport tracer  from '@imqueue/dd-trace';\ntracer.init();\nexport default tracer;\n~~~\n\nThis does not differ of original `dd-trace` and exposes the whole functionality\nfrom it. To learn more about `dd-trace` API and features, follow this\n[link](https://docs.datadoghq.com/tracing/setup/nodejs/).\n\n### Extended API\n\nThis module also provides possibility to disable Datadog self-traces (enabled\nby default as standard `dd-trace` behavior), using environment configuration\nvariable:\n\n~~~bash\nexport DISABLE_DD_SELF_TRACES=1\n~~~\n\nThis option will disable datadog agent to trace it's own HTTP calls about\ntraces, but still keeping http/https requests to other domains to be traced.\n\nWithing the package `@imqueue/dd-trace` provides also some valuable\nfunctions, giving the ability to instrument and send traces manually inside\nyour code.\n\nFor example, if you need to trace some specific block of code, do it as:\n\n~~~typescript\nimport { trace, traceEnd } from '@imqueue/dd-trace';\n\n// ... whenever you want to trace a block of code do as:\n\ntrace('block-of-code-trace-name');\n\n// ... code comes here\n\ntraceEnd('block-of-code-trace-name');\n~~~\n\nPlease, note that trace name given to `trace()` function must be unique in\nyour code or it will produce exception.\n\nThere is also a way to decorate any non-exposed service or client methods, \nusing `@traced()` decorator factory.\n\nFor example:\n\n~~~typescript\nimport { traced } from '@imqueue/dd-trace';\n\nclass MySpecificClassOrService {\n\n    @traced()\n    private doSomething() {\n        console.log('Something...');\n    }\n\n    @traced()\n    protected doAnotherThing() {\n        console.log('Another thing!');\n    }\n\n    @traced()\n    public doCoolStuff() {\n        this.doHidden();\n        console.log('Cool stuff!');\n    }\n    \n    private doHidden() {\n        console.log('Hidden stuff!');\n    }\n}\n~~~\n\nWith this example, only `doSomething`, `doAnotherThing` and `doCoolStuff`\nmethods will be traced, but `doHidden` remain un-traced.\n\nPlease, note, that every method on client and server, which are decorated\nwith `@expose` will be automatically traced if `@imqueue/dd-trace` was set-up\nand initialized (and enabled via DD trace env config). Plugin name for \nDD trace config is `imq`.\n\n## Contributing\n\nAny contributions are greatly appreciated. Feel free to fork, propose PRs, open\nissues, do whatever you think may be helpful to this project. PRs which passes\nall tests and do not brake tslint rules are first-class candidates to be\naccepted!\n\n## License\n\n[ISC](https://github.com/imqueue/dd-trace/blob/master/LICENSE)\n\nHappy Coding!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimqueue%2Fdd-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimqueue%2Fdd-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimqueue%2Fdd-trace/lists"}