{"id":29091252,"url":"https://github.com/biblical33/metrics-recorder","last_synced_at":"2025-08-03T04:39:28.859Z","repository":{"id":298763857,"uuid":"1001009583","full_name":"BIBlical33/metrics-recorder","owner":"BIBlical33","description":"Header-only C++20 library for lock-free, time-stamped metric recording in multi-threaded applications.","archived":false,"fork":false,"pushed_at":"2025-06-21T08:20:51.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-29T10:08:36.467Z","etag":null,"topics":["cmake","cpp","cpp20","header-only","libcds","library","lock-free","logging","multithreading"],"latest_commit_sha":null,"homepage":"","language":"C++","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/BIBlical33.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,"zenodo":null}},"created_at":"2025-06-12T17:03:49.000Z","updated_at":"2025-06-21T08:20:54.000Z","dependencies_parsed_at":"2025-06-12T21:07:19.940Z","dependency_job_id":null,"html_url":"https://github.com/BIBlical33/metrics-recorder","commit_stats":null,"previous_names":["biblical33/metrics-recorder"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/BIBlical33/metrics-recorder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BIBlical33%2Fmetrics-recorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BIBlical33%2Fmetrics-recorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BIBlical33%2Fmetrics-recorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BIBlical33%2Fmetrics-recorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BIBlical33","download_url":"https://codeload.github.com/BIBlical33/metrics-recorder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BIBlical33%2Fmetrics-recorder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264419452,"owners_count":23605197,"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":["cmake","cpp","cpp20","header-only","libcds","library","lock-free","logging","multithreading"],"created_at":"2025-06-28T06:06:27.551Z","updated_at":"2025-07-09T08:04:33.228Z","avatar_url":"https://github.com/BIBlical33.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metrics Recorder\n\n[![CMake](https://img.shields.io/badge/CMake-3.20+-blue.svg)](https://cmake.org)\n[![C++20](https://img.shields.io/badge/C++-20-blue.svg)](https://en.cppreference.com/w/cpp/20)\n\n## Overview\n**Metrics Recorder** is a modern, header-only C++20 library for collecting and logging time-stamped metrics in a lock-free, multi-threaded environment. It is designed for scenarios where event metrics (such as CPU usage or HTTP requests per second) must be recorded with minimal performance overhead and serialized to a human-readable log file.\n\n## Features\n- Header-only C++20 library — easy to integrate\n- Lock-free metric updates using [libcds](https://github.com/khizmax/libcds) skip-list\n- Supports any value type (`float`, `int`, etc.)\n- Clean, timestamped text log format\n- Zero interference with application threads that produce events\n\n## Get started\n[Build and Usage Guide](https://github.com/BIBlical33/metrics-recorder/wiki)\n\n## Log Format\nEach log line includes:\n- A timestamp with millisecond precision\n- Quoted metric names\n- Corresponding values\n### Example\n```\n2025-06-01 15:00:01.653 \"CPU\" 0.97 \"HTTP requests RPS\" 42\n2025-06-01 15:00:02.653 \"CPU\" 1.12 \"HTTP requests RPS\" 30\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiblical33%2Fmetrics-recorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiblical33%2Fmetrics-recorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiblical33%2Fmetrics-recorder/lists"}