{"id":28501959,"url":"https://github.com/fluent/cprofiles","last_synced_at":"2026-02-10T01:05:37.785Z","repository":{"id":262365117,"uuid":"881168051","full_name":"fluent/cprofiles","owner":"fluent","description":"OpenTelemetry Profiles library implementation for Fluent Bit","archived":false,"fork":false,"pushed_at":"2025-10-31T18:41:39.000Z","size":984,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-31T20:26:34.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fluent.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-31T02:51:45.000Z","updated_at":"2025-10-31T18:41:42.000Z","dependencies_parsed_at":"2024-11-12T03:29:05.373Z","dependency_job_id":"ab62c87a-c97c-4608-a803-46dd540ab9f9","html_url":"https://github.com/fluent/cprofiles","commit_stats":null,"previous_names":["fluent/cprofiles"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fluent/cprofiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Fcprofiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Fcprofiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Fcprofiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Fcprofiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent","download_url":"https://codeload.github.com/fluent/cprofiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Fcprofiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29287757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-06-08T16:08:33.911Z","updated_at":"2026-02-10T01:05:37.756Z","avatar_url":"https://github.com/fluent.png","language":"C","readme":"# CProfiles\n\nThe [CProfiles](https://github.com/fluent/cprofiles) provides a simple API to create and manage profiles for monitoring and observability purposes, the internal data structure is based on OpenTelemetry Profiles schema (v1/development):\n\n- \u003chttps://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/profiles/v1development/profiles.proto\u003e\n\n## Build\n\nClone the repository:\n\n```shell\ngit clone https://github.com/fluent/cprofiles\n```\n\nGet into the project directory and retrieve submodules:\n\n```shell\ncd cprofiles/\ngit submodule update --init --recursive --remote\n```\n\nCompile:\n\n```shell\ncd build/\ncmake -DCPROF_DEV=on ../\nmake\n```\n\n\u003e CPROF_DEV flag enables debugging mode, examples and the unit tests\n\n## Usage\n\nFor now you can try out the unit test that compiles when dev mode is enabled: `tests/cprof-test-profile`:\n\n```text\n--- profile debug\nProfile Duration: 0 nanoseconds\n\nSamples:\n  Sample #1:\n    Locations:\n      [Empty String: No Function Name]\n      Function: main\n    Values:\n      CPU time: 644 ns\n      Memory usage: 1046 bytes\n    Timestamps:\n      Timestamp 0: 1730342869000000000 ns\n\n  Sample #2:\n    Locations:\n      [Empty String: No Function Name]\n      Function: foo\n    Values:\n      CPU time: 73 ns\n      Memory usage: 1068 bytes\n    Timestamps:\n      Timestamp 0: 1730342869000000000 ns\n\n  Sample #3:\n    Locations:\n      [Empty String: No Function Name]\n      Function: bar\n    Values:\n      CPU time: 175 ns\n      Memory usage: 849 bytes\n    Timestamps:\n      Timestamp 0: 1730342869000000000 ns\n\nString Table:\n  0: ''\n  1: 'CPU time'\n  2: 'ns'\n  3: 'Memory usage'\n  4: 'bytes'\n  5: 'main'\n  6: 'foo'\n  7: 'bar'\n```\n\n## License\n\nThis program is under the terms of the [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\n## Authors\n\nFluent Bit Authors\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Fcprofiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent%2Fcprofiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Fcprofiles/lists"}