{"id":56896,"library":"htrace-core","title":"HTrace Core","description":"A distributed tracing framework for tracking requests across distributed systems.","status":"active","version":"4.0.0-incubating","language":"java","source_language":null,"source_url":"https://git-wip-us.apache.org/repos/asf?p=incubator-htrace.git","tags":["tracing","distributed-tracing","htrace","apache"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.htrace</groupId>\n  <artifactId>htrace-core</artifactId>\n  <version>4.0.0-incubating</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.htrace:htrace-core:4.0.0-incubating'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Span","correct":"org.apache.htrace.Span"}],"quickstart":{"code":"import org.apache.htrace.Span;\nimport org.apache.htrace.Trace;\n\npublic class Example {\n    public static void main(String[] args) {\n        Span span = Trace.startSpan(\"example\");\n        try {\n            System.out.println(\"Tracing span started\");\n        } finally {\n            span.close();\n        }\n    }\n}","lang":"java","description":"Starts and closes a tracing span using HTrace."},"warnings":[{"fix":"Check for stable releases or consider alternatives like OpenTelemetry.","message":"HTrace 4.x is an incubating release and API may change.","severity":"breaking","affected_versions":"4.0.0-incubating"}],"env_vars":null,"search_vec":"'across':10 'apach':18 'core':2 'distribut':4,11,15 'distributed-trac':14 'framework':6 'htrace':1,17 'request':9 'system':12 'trace':5,13,16 'track':8","created_at":"2026-06-15T10:54:44.474725+00:00","updated_at":"2026-06-15T10:54:44.474725+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://incubator.apache.org/projects/htrace.html","github":null,"docs":"https://appdoc.app/artifact/org.apache.htrace/htrace-core/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}