{"id":15654864,"url":"https://github.com/smacker/opentracing-go-redis","last_synced_at":"2025-05-01T08:41:08.418Z","repository":{"id":55637832,"uuid":"96408952","full_name":"smacker/opentracing-go-redis","owner":"smacker","description":"OpenTracing instrumentation for go-redis.","archived":false,"fork":false,"pushed_at":"2023-02-25T02:04:39.000Z","size":30,"stargazers_count":25,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T21:05:11.864Z","etag":null,"topics":["golang","opentracing","redis"],"latest_commit_sha":null,"homepage":"","language":"Go","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/smacker.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}},"created_at":"2017-07-06T08:48:36.000Z","updated_at":"2021-10-21T04:25:43.000Z","dependencies_parsed_at":"2024-06-20T08:21:14.100Z","dependency_job_id":"5972dd79-fc51-46bc-a775-1ab475de8e6e","html_url":"https://github.com/smacker/opentracing-go-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smacker%2Fopentracing-go-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smacker%2Fopentracing-go-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smacker%2Fopentracing-go-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smacker%2Fopentracing-go-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smacker","download_url":"https://codeload.github.com/smacker/opentracing-go-redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251849179,"owners_count":21653829,"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":["golang","opentracing","redis"],"created_at":"2024-10-03T12:54:32.543Z","updated_at":"2025-05-01T08:41:08.381Z","avatar_url":"https://github.com/smacker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opentracing go-redis\n\n[OpenTracing](http://opentracing.io/) instrumentation for [go-redis](https://github.com/go-redis/redis).\n\n## Install\n\n```\ngo get -u github.com/smacker/opentracing-go-redis\n```\n\n## Usage\n\nClone redis client `c := otredis.WrapRedisClient(ctx, c)` with a span.\n\nExample:\n\n```go\nvar client *redis.Client\n\nfunc Handler(ctx context.Context) {\n    span, ctx := opentracing.StartSpanFromContext(ctx, \"handler\")\n    defer span.Finish()\n\n    // clone redis with proper context\n    client := otredis.WrapRedisClient(ctx, client)\n\n    // make requests to redis\n    client.Get(\"foo\")\n}\n```\n\nCall to the `Handler` function would create redis span as a child of handler span.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmacker%2Fopentracing-go-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmacker%2Fopentracing-go-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmacker%2Fopentracing-go-redis/lists"}