{"id":19710025,"url":"https://github.com/fast/libfastrace","last_synced_at":"2025-04-29T17:31:09.057Z","repository":{"id":258064355,"uuid":"851479047","full_name":"fast/libfastrace","owner":"fast","description":"C binding for fastrace: A tracing library 10~100x faster than others","archived":false,"fork":false,"pushed_at":"2024-12-01T03:16:55.000Z","size":101,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T18:50:32.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/fast.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":"2024-09-03T07:07:44.000Z","updated_at":"2024-12-01T03:14:46.000Z","dependencies_parsed_at":"2024-11-20T05:18:47.657Z","dependency_job_id":"72679d81-bdfd-4650-b542-b8c97d4995ab","html_url":"https://github.com/fast/libfastrace","commit_stats":null,"previous_names":["fast/libfastrace"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Flibfastrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Flibfastrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Flibfastrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Flibfastrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fast","download_url":"https://codeload.github.com/fast/libfastrace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549176,"owners_count":21607365,"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":[],"created_at":"2024-11-11T22:06:03.676Z","updated_at":"2025-04-29T17:31:08.706Z","avatar_url":"https://github.com/fast.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastrace for C/C++\n\nfastrace for C/C++.\n\nIt's built on top of\n[fastrace in Rust](https://github.com/fast/fastrace) via [cxx](https://github.com/dtolnay/cxx).\n\n## Requirements\n\n- C++11 or later\n- Rust environment\n\n## Prepare \n\n```bash\n# install rust environment\ncurl https://sh.rustup.rs -sSf | sh\n```\n\n## Build\n\n```bash\n## compile in build directory\ncmake -S . -B build \u0026\u0026 cmake --build build\n## install to /usr/local\nsudo cmake --install build\n```\n\n## Uninstall\n\nTo uninstall the library, use the following command:\n\n```bash\nsudo cmake --build build --target uninstall\n```\n\n## Run example\n\n```bash\n# start an OTEL Exporter, eg Jaeger\ndocker run -d --name jaeger -e COLLECTOR_OTLP_ENABLED=true -e SPAN_STORAGE_TYPE=badger  -e BADGER_EPHEMERAL=false -e BADGER_DIRECTORY_VALUE=/badger/data -e BADGER_DIRECTORY_KEY=/badger/key   -v /mnt/badger:/badger  -p 16686:16686 -p 4317:4317 -p 4318:4318 jaegertracing/all-in-one:1.46\n\ncd examples \u0026\u0026 cmake -S . -B build \u0026\u0026 cmake --build build\n# run example\nSERVICE_NAME=asynchronous ./build/asynchronous      # c api\nSERVICE_NAME=asynchronous2 ./build/asynchronous2    # c++ api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffast%2Flibfastrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffast%2Flibfastrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffast%2Flibfastrace/lists"}