{"id":16246962,"url":"https://github.com/magmax/ansible-opentracing","last_synced_at":"2026-04-30T10:03:45.075Z","repository":{"id":66137499,"uuid":"246501365","full_name":"magmax/ansible-opentracing","owner":"magmax","description":"Observability for Ansible with OpenTracing","archived":false,"fork":false,"pushed_at":"2020-03-14T08:43:09.000Z","size":87,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T11:47:05.938Z","etag":null,"topics":["ansible","jaeger","observability","opentracing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magmax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-03-11T07:18:07.000Z","updated_at":"2022-10-04T07:14:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"16bd4137-0b70-4cc6-8764-510167e344e7","html_url":"https://github.com/magmax/ansible-opentracing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/magmax/ansible-opentracing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magmax%2Fansible-opentracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magmax%2Fansible-opentracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magmax%2Fansible-opentracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magmax%2Fansible-opentracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magmax","download_url":"https://codeload.github.com/magmax/ansible-opentracing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magmax%2Fansible-opentracing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansible","jaeger","observability","opentracing"],"created_at":"2024-10-10T14:35:00.863Z","updated_at":"2026-04-30T10:03:45.057Z","avatar_url":"https://github.com/magmax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenTracing for Ansible\n\n## Installation\n\n1. Create the directory `callbacks` in your ansible root directory.\n2. Edit the ansible.cfg to contain this:\n```\n[defaults]\ncallback_plugins= ./callbacks\ncallback_whitelist = aot\n```\n3. Run Jaeger. Docker is recommended:\n```\ndocker run -d --name jaeger \\\n  -p 5775:5775/udp \\\n  -p 16686:16686 \\\n  jaegertracing/all-in-one:1.13\n```\n4. Install opentracing and jaeger-client for python:\n```\npip install opentracing jaeger-client\n```\n5. Download the file `aot.py` into the `callbacks` directory:\n```\ncurl https://raw.githubusercontent.com/magmax/ansible-opentracing/master/aot.py \\\n  -o callbacks/aot.py\n```\n6. Run ansible as usual\n7. See the results at http://localhost:16686/search?service=Ansible\n\n\nExample:\n\n![Example of Jaeger traces running ansible](ansible-jaeger.png)\n\n# Configuration\n\nConfiguration is possible through environment variables:\n\nVariable | Default | Description\n--- | --- | ---\n*AOT_LOGGING*      | Undefined | Enable stdout output. Useful for debugging Ansible OpenTracing. \n*AOT_SAMPLER_RATE* | 1         | Percentage of samples to be sent to the server.\n*AOT_JAEGER_HOST*  | localhost | Jaeger server address.\n*AOT_JAEGER_PORT*  | 5775      | Jaeger server UDP port.\n\n# Status\n\nOperation Status:\n\nOperation | Status\n--- | ---\nlocalhost connection | supported\nremote connections | supported\ntasks | supported\nroles | supported\nhandlers | supported\nlisten | supported\nloops | --\nnolog | --\nfacts | --\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagmax%2Fansible-opentracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagmax%2Fansible-opentracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagmax%2Fansible-opentracing/lists"}