{"id":21153038,"url":"https://github.com/opentracing-contrib/java-okhttp","last_synced_at":"2025-07-30T19:41:33.627Z","repository":{"id":57735976,"uuid":"80665871","full_name":"opentracing-contrib/java-okhttp","owner":"opentracing-contrib","description":"OpenTracing Okhttp client instrumentation","archived":false,"fork":false,"pushed_at":"2020-04-01T11:26:23.000Z","size":105,"stargazers_count":24,"open_issues_count":6,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-11T17:57:40.762Z","etag":null,"topics":["instrumentation","okhttp","okhttpclient","opentracing","tracing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentracing-contrib.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}},"created_at":"2017-02-01T21:25:40.000Z","updated_at":"2024-11-24T16:25:43.000Z","dependencies_parsed_at":"2022-09-14T13:22:30.093Z","dependency_job_id":null,"html_url":"https://github.com/opentracing-contrib/java-okhttp","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/opentracing-contrib/java-okhttp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentracing-contrib%2Fjava-okhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentracing-contrib%2Fjava-okhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentracing-contrib%2Fjava-okhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentracing-contrib%2Fjava-okhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentracing-contrib","download_url":"https://codeload.github.com/opentracing-contrib/java-okhttp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentracing-contrib%2Fjava-okhttp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260585814,"owners_count":23032246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["instrumentation","okhttp","okhttpclient","opentracing","tracing"],"created_at":"2024-11-20T10:48:15.397Z","updated_at":"2025-07-09T10:33:31.092Z","avatar_url":"https://github.com/opentracing-contrib.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status][ci-img]][ci] [![Released Version][maven-img]][maven]\n\n# OpenTracing OkHttp Client Instrumentation\nOpenTracing instrumentation for OkHttp client.\n\n## Configuration\nPreferred way how to instrument OkHttpClient is to use `TracingCallFactory`:\n```java\nCall.Factory client = new TracingCallFactory(okHttpClient, tracer);\nclient.newCall(request)...\n```\nor use OkHttpClient directly. However when doing multiple async requests simultaneously, parent spans created\nbefore invoking the client are not properly inferred.\n```java\nOkHttpClient client = TracingInterceptor.addTracing(new OkHttpClient.Builder(), tracer)\nclient.newCall(request)...\n```\n\n## Development\n```shell\n./mvnw clean install\n```\n\n## Release\nFollow instructions in [RELEASE](RELEASE.md)\n\n   [ci-img]: https://travis-ci.org/opentracing-contrib/java-okhttp.svg?branch=master\n   [ci]: https://travis-ci.org/opentracing-contrib/java-okhttp\n   [maven-img]: https://img.shields.io/maven-central/v/io.opentracing.contrib/opentracing-okhttp3.svg?maxAge=2592000\n   [maven]: http://search.maven.org/#search%7Cga%7C1%7Copentracing-okhttp3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentracing-contrib%2Fjava-okhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentracing-contrib%2Fjava-okhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentracing-contrib%2Fjava-okhttp/lists"}