{"id":36418002,"url":"https://github.com/ttony/opentracing-java-annotation","last_synced_at":"2026-01-11T17:01:19.265Z","repository":{"id":57735063,"uuid":"197506044","full_name":"ttony/opentracing-java-annotation","owner":"ttony","description":"Java Annotation For Opentracing ","archived":false,"fork":false,"pushed_at":"2021-02-18T15:24:09.000Z","size":119,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-07-21T14:56:43.687Z","etag":null,"topics":["annotation","java","opentracing"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-18T03:38:58.000Z","updated_at":"2024-07-21T14:56:43.688Z","dependencies_parsed_at":"2022-08-24T11:20:36.944Z","dependency_job_id":null,"html_url":"https://github.com/ttony/opentracing-java-annotation","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ttony/opentracing-java-annotation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttony%2Fopentracing-java-annotation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttony%2Fopentracing-java-annotation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttony%2Fopentracing-java-annotation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttony%2Fopentracing-java-annotation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttony","download_url":"https://codeload.github.com/ttony/opentracing-java-annotation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttony%2Fopentracing-java-annotation/sbom","scorecard":{"id":901519,"data":{"date":"2025-08-11","repo":{"name":"github.com/ttony/opentracing-java-annotation","commit":"ae936dd06472584384eb47d8f9142e014456490e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/24 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":"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":"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":"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":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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: GNU General Public License v2.0: 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 8 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"}}]},"last_synced_at":"2025-08-24T15:44:44.047Z","repository_id":57735063,"created_at":"2025-08-24T15:44:44.047Z","updated_at":"2025-08-24T15:44:44.047Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"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":["annotation","java","opentracing"],"created_at":"2026-01-11T17:00:39.002Z","updated_at":"2026-01-11T17:01:19.227Z","avatar_url":"https://github.com/ttony.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/ttony/opentracing-java-annotation.svg?branch=master)](https://travis-ci.com/ttony/opentracing-java-annotation) [![Maven Central](https://img.shields.io/maven-central/v/io.github.ttony/opentracing-java-annotation.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.ttony%22%20AND%20a:%22opentracing-java-annotation%22) \n\n# OpenTracing Java Annotation\n\nThis library is a java annotation driven for OpenTracing.\n\n\u003e Note: The annotation concept is purely comes from Spring Sleuth project.\n\n## Dependency\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.ttony\u003c/groupId\u003e\n    \u003cartifactId\u003eopentracing-java-annotation\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Run\nPlease include VM Options as\n```java\n-javaagent:\u003cPATH_TO_ASPECTJ\u003e/aspectjweaver-1.9.4.jar\n```\n\n## Usage\n\n### Creating A New Span\n\n```java\n@NewSpan\npublic void calculateTax(TaxModel model) {\n    ...\n}\n```\n\n### Tag A New Span\n- Simple\n    ````java\n    @NewSpan\n    public void calculateTax(TaxModel model, @SpanTag(\"tag-name\") String tagValue) { \n      ...\n    }\n    ````\n- Advance\n  ````java\n  @NewSpan(tagMapper = @SpanTagMapper(resolver = TaxModelTagMapper.class))\n  public void calculateTax(TaxModel model) {\n    ...\n  }\n  ````\n  ````java\n  public class TaxModelTagMapper implements TagMapper\u003cTaxModel\u003e {\n  \n      public Map\u003cString, Object\u003e tag(TaxModel model) throws Exception {\n          ...\n      }\n  }\n  ````\n\n### Injecting A Span\n\n\n```java\n@NewSpan\npublic void calculateTax(Span span, TaxModel model) {\n    span.log(\"event logging\");\n    ...\n}\n```\n\n### Override Default Span's OperationName\n\n\n```java\n@NewSpan(operationName=\"calculateGST\")\npublic void calculateTax(Span span, TaxModel model) {\n    span.log(\"event logging\");\n    ...\n}\n```\n\n## Integrating SpringBoot\n\nRegister the Aspect class as spring bean:\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cbeans xmlns=\"http://www.springframework.org/schema/beans\"\n       xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:context=\"http://www.springframework.org/schema/context\"\n       xsi:schemaLocation=\"http://www.springframework.org/schema/beans\n        http://www.springframework.org/schema/beans/spring-beans.xsd\n        http://www.springframework.org/schema/context\n        http://www.springframework.org/schema/context/spring-context.xsd\"\u003e\n\n    \u003cbean class=\"io.opentracing.contrib.annotation.handler.NewSpanHandler\" /\u003e\n\u003c/beans\u003e\n```\n\nInclude SpringBoot AOP dependencies:\n```groovy\ncompile 'org.springframework.boot:spring-boot-starter-aop'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttony%2Fopentracing-java-annotation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttony%2Fopentracing-java-annotation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttony%2Fopentracing-java-annotation/lists"}