{"id":24782588,"url":"https://github.com/levkk/metricscat","last_synced_at":"2025-03-24T05:29:27.273Z","repository":{"id":44735330,"uuid":"447336088","full_name":"levkk/metricscat","owner":"levkk","description":"Metrics, traces, and logs, all in a convenient self-hosted environment and a Free license.","archived":false,"fork":false,"pushed_at":"2022-01-27T21:37:38.000Z","size":295,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T14:54:05.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/levkk.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}},"created_at":"2022-01-12T18:56:08.000Z","updated_at":"2022-02-09T09:26:26.000Z","dependencies_parsed_at":"2022-09-10T23:55:29.950Z","dependency_job_id":null,"html_url":"https://github.com/levkk/metricscat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levkk%2Fmetricscat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levkk%2Fmetricscat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levkk%2Fmetricscat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levkk%2Fmetricscat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levkk","download_url":"https://codeload.github.com/levkk/metricscat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245215734,"owners_count":20579031,"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":"2025-01-29T11:18:08.674Z","updated_at":"2025-03-24T05:29:27.232Z","avatar_url":"https://github.com/levkk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/levkk/metricscat/tree/main.svg?style=svg)](https://circleci.com/gh/levkk/metricscat/tree/main)\n\n# Metrics Cat\n\nA self-hosted metrics, logs and APM solution with a free license.\n\n## Local development\n\nThis will help you setup Metrics Cat locally!\n\n### Requirements\n\n1. PostgreSQL 10 or higher,\n2. [nvm](https://github.com/nvm-sh/nvm),\n3. latest [Rust](https://rust-lang.org).\n\n### Setup\n\n1. `createdb metrics` to create the Postgres database used by the app,\n2. `cargo build` to download the dependencies and build the app,\n3. `cargo install sqlx-cli \u0026\u0026 sqlx migrate run --database-url=postgres:///metrics` to run migrations.\n\nThis app consists of three components:\n\n- agent that collects the metrics,\n- server that serves the API,\n- frontend (React) which makes this look good.\n\nIn three different terminal tabs, run this individually:\n\n1. `cargo run server`,\n2. `cargo run agent`,\n3. `cd metricscat-frontend \u0026\u0026 nvm install \u0026\u0026 nvm use \u0026\u0026 npm install \u0026\u0026 npm start`.\n\nYou should see the metrics appear in your browser!\n\n![Preview](preview.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevkk%2Fmetricscat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevkk%2Fmetricscat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevkk%2Fmetricscat/lists"}