{"id":15137831,"url":"https://github.com/gernest/requiemdb","last_synced_at":"2025-10-23T13:30:51.901Z","repository":{"id":233596835,"uuid":"785771573","full_name":"gernest/requiemdb","owner":"gernest","description":"Pure Go Permanent Storage For Open Telemetry Metrics, Traces and Logs, based on Compressed Roaring B-Tree Bitmaps,  using Typescript as Query Language","archived":false,"fork":false,"pushed_at":"2024-05-07T01:00:53.000Z","size":4274,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T18:48:20.541Z","etag":null,"topics":["database","observability","open-telemetry","open-telemetry-collector"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gernest.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-04-12T15:33:24.000Z","updated_at":"2025-01-24T01:26:38.000Z","dependencies_parsed_at":"2024-04-27T11:41:45.469Z","dependency_job_id":"b5eae549-3a32-41c6-aa68-19d0b87fa8da","html_url":"https://github.com/gernest/requiemdb","commit_stats":null,"previous_names":["gernest/requiemdb"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gernest%2Frequiemdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gernest%2Frequiemdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gernest%2Frequiemdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gernest%2Frequiemdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gernest","download_url":"https://codeload.github.com/gernest/requiemdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237834619,"owners_count":19373758,"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":["database","observability","open-telemetry","open-telemetry-collector"],"created_at":"2024-09-26T07:02:30.883Z","updated_at":"2025-10-23T13:30:51.493Z","avatar_url":"https://github.com/gernest.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# requiemdb\n\nPermanent Storage for Open Telemetry Data.\n\n# Features\n\n- **OTLP gRPC server**: You can send metrics, traces and logs directly\n from your apps using otel gRPC exporter. Works with all supported language SDK.\n- **Query as code**: version, reuse , run or experiment with scripts.\n- **Embedded javascript engine**: Use modern javascript or typescript for querying.\n- **Standard compliant data**: Work with data as defined in Open Telemetry Standards\n\n You don't need bespoke query language to understand and get insight from your\n applications. Work with samples as defined in [Open Telemetry Protocol](https://github.com/open-telemetry/opentelemetry-proto) using modern javascript or typescript.\n\n\n# Getting started\n\n## Installation\n\nYou can see release page for downloads if you have go installed do this\n\n```bash\ngo install github.com/gernest/requiemdb/cmd/rq@latest\n```\n\nThis will have `rq` binary installed\n\n## Start the server\n\n```\nrq\n```\n\nWait for 2 minutes to have `rq`  collect the process stats so we can query them.\n\n\u003e Metrics,traces and logs emitted by `rq` are stored in the same `rq`  instance.\n\u003e This is to allow quick evaluation of `rq` capabilities before  deployment.\n\nLet's check system cpu time, create a file `cpu.ts`\n```ts\n// cpu.ts\nimport { Metrics } from \"@requiemdb/rq\";\n\n/**\n * Query instant system.cpu.time\n */\nMetrics.render(\n    (new Metrics()).\n        name(\"system.cpu.time\").\n        query()\n)\n```\n\n```bash\nrq query cpu.ts\n```\n```\nsystem.cpu.time\nTIMESTAMP            VALUE         ATTRIBUTES            \n2024-04-03 14:37:40  193h2m11.21s  { state = \"idle\" }    \n2024-04-03 14:37:40  13h36m20.38s  { state = \"user\" }    \n2024-04-03 14:37:40  8h20m8.09s    { state = \"system\" }  \n2024-04-03 14:37:40  0s            { state = \"other\" }   \n```\n\n# Sending data\n\n```\nRQ_OTLP_LISTEN=localhost:4317 rq\n```\n\nConfigure your gRPC exporter to use `RQ_OTLP_LISTEN` endpoint.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgernest%2Frequiemdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgernest%2Frequiemdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgernest%2Frequiemdb/lists"}