[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116141":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":14,"starSnapshotCount":14,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},116141,"datacat","replit\u002Fdatacat","replit","Self-hosted observability: metrics, logs, traces, dashboards and alerts. Stores data in PostgreSQL or ClickHouse. Accepts OpenTelemetry data.",null,"TypeScript",602,66,1,0,45,470,233,99.4,"Apache License 2.0",false,"develop",[23,24,25,26,27,28,29,30,31,32,33,34],"alerting","apm","clickhouse","dashboards","logging","metrics","monitoring","observability","opentelemetry","postgresql","self-hosted","tracing","2026-11-20 07:13:09","2026-11-23 20:43:59","# DataCat\n\nSelf-hosted observability: metrics, logs, distributed traces, dashboards, infrastructure\nand alerts in one place. DataCat runs on your infrastructure, stores data in PostgreSQL (or telemetry in\nClickHouse, if you choose; see docs\u002FSELF_HOSTING.md), and accepts OpenTelemetry and Datadog-compatible agent traffic.\nNo hosted account or external service is required.\n\n## Features\n\n- Metrics explorer, formulas, dashboards and host maps\n- Searchable logs with facets, live tail and trace correlation\n- APM service catalog, trace explorer and waterfall\n- Metric, log and trace monitors with webhook\u002FSlack notifications\n- Organizations, local accounts, single-use invites, API\u002Fapplication keys\n- OpenTelemetry Collector-based host agent and Node.js\u002FPython instrumentation libraries\n- One production process serving the API, web UI, installer and downloads\n\n![DataCat dashboard](docs\u002Fimages\u002Fdashboard.jpg)\n\n## Quick start with Docker Compose\n\nRequirements: Docker Engine with the Compose plugin, Git, and OpenSSL.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Freplit\u002Fdatacat\ncd datacat\ncp .env.example .env\nsed -i \"s\u002F^POSTGRES_PASSWORD=.*\u002FPOSTGRES_PASSWORD=$(openssl rand -hex 24)\u002F\" .env\nsed -i \"s\u002F^SESSION_SECRET=.*\u002FSESSION_SECRET=$(openssl rand -hex 32)\u002F\" .env\nchmod 600 .env\nmkdir -p downloads\ndocker compose up -d --build\n```\n\nOpen **http:\u002F\u002Flocalhost:3000**, create your admin account and organization, then create\nan API key under **Organization Settings**. Setup asks for a setup token, printed in the\nserver log (`docker compose logs datacat | grep \"setup token\"`) unless you set `DATACAT_SETUP_TOKEN`.\nSet `PUBLIC_URL` to your externally reachable HTTPS origin before inviting colleagues or\ninstalling agents remotely.\n\nAgent binaries and SDK packages are separate release assets. Put them (including\n`SHA256SUMS`) in `downloads\u002F` to serve them from your instance.\n\n## Sending data\n\nDataCat accepts the Datadog public intake API and OTLP\u002FHTTP:\n\n| Sender | Status |\n| --- | --- |\n| Datadog Agent 7.56.2 (metrics, logs, check runs, traces) | Tested in CI-style runs |\n| Datadog Agent 7.85.4 (metrics, logs, check runs, traces) | Tested with captured payloads; including the newer string-table trace format |\n| Datadog Agent 7.57–7.84 | Not tested individually. Agents that send traces in a format DataCat cannot read get a 422, never a silent 202 |\n| OpenTelemetry Collector \u002F SDKs (OTLP\u002FHTTP) | `\u002Fv1\u002Ftraces`, `\u002Fv1\u002Fmetrics`, `\u002Fv1\u002Flogs` (also under `\u002Fotlp\u002Fv1\u002F*`) |\n| DataCat Agent and libraries | Tested in CI |\n\n`GET \u002Fapi\u002Fv1\u002Fintake\u002Fstats` shows, per intake path, how many items were stored and how many were dropped since the\nserver started.\n\nSign-in uses local email\u002Fpassword accounts; members join through single-use invite links.\n\n## From source\n\nUse Node.js **22.15+**, pnpm **10.11.0** and PostgreSQL **14+**. Node 22 also meets\nthe Node SDK requirement; older Node 20 releases are not supported by the current SDK.\n\n```sh\ncorepack enable\ncorepack prepare pnpm@10.11.0 --activate\npnpm install --frozen-lockfile\nBASE_PATH=\u002F pnpm run build:selfhost\n# Set DATABASE_URL, SESSION_SECRET and PUBLIC_URL in your environment.\nNODE_ENV=production PORT=3000 pnpm start\n```\n\nThe server migrates its schema automatically before listening. There is no manual\nschema push and no separate frontend server.\n\nSee **[Self-hosting](docs\u002FSELF_HOSTING.md)** for clean Ubuntu installation, all environment\nsettings, backups, systemd, agent installation, Node\u002FPython instrumentation and a\nwebhook monitor walkthrough.\n\n## Development\n\n```sh\npnpm run typecheck:libs\npnpm --filter @workspace\u002Fapi-server run dev\n# In another terminal:\nAPI_PROXY=http:\u002F\u002Flocalhost:3000 PORT=5173 pnpm --filter @workspace\u002Fweb run dev\n```\n\nThe API needs `DATABASE_URL`; use a separate development database.\nThe agent is built with Go 1.26.11+:\n\n```sh\nbash agent\u002Fbuild.sh\nDESTDIR=\"$PWD\u002Fdist\u002Fdownloads\" bash agent\u002Frelease.sh\n```\n\nTests:\n\n```sh\npnpm --filter @workspace\u002Fapi-server test     # server unit tests\nDATACAT_URL=http:\u002F\u002Flocalhost:3000 DATACAT_SETUP_TOKEN=\u003Ctoken> bash scripts\u002Fe2e.sh   # end-to-end known-answer checks against a fresh install\n```\n\nCI (`.github\u002Fworkflows\u002Fci.yml`) runs typechecks, unit tests, dependency and vulnerability audits, the end-to-end\nchecks on both storage options, the library and agent tests, a Docker build and a secrets scan on every pull request.\n\nRunnable examples are in [`examples\u002F`](examples). See [Contributing](CONTRIBUTING.md), [Security](SECURITY.md) and the [Changelog](CHANGELOG.md).\n\n## Benchmarks\n\n`bench\u002Fkit` sends metrics, logs and traces through DataCat and checks every answer against a known value; it reports\nthroughput, query latency and how long data takes to become searchable, for both storage options. The other folders\nin [`bench\u002F`](bench) hold the correctness, resilience, alerting, soak and isolation tests; raw results behind the\npublished numbers are in [`bench\u002Fevidence\u002F`](bench\u002Fevidence).\n\n## License\n\n[Apache License 2.0](LICENSE). Third-party dependencies retain their own licenses.\nDataCat is an independent project, not affiliated with or endorsed by Datadog, Inc. Datadog is a trademark of\nDatadog, Inc.; it is named here only to describe protocol compatibility.\n","DataCat 是一个可自托管的全栈可观测性平台，统一支持指标、日志、分布式追踪、仪表盘与告警。核心功能包括基于 OpenTelemetry 和 Datadog 兼容协议的数据接入，支持 PostgreSQL 或 ClickHouse 作为后端存储，提供带公式计算的指标探索、结构化日志搜索（含实时尾部与链路关联）、APM 服务拓扑与追踪瀑布图，以及多维度监控告警（支持 Slack\u002FWebhook）。适用于对数据主权、合规性或网络隔离有要求的中小团队，在私有云或本地基础设施中构建轻量级可观测性能力。",2,"2026-11-24 04:52:56","CREATED_QUERY"]