TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Lightweight log collector with no lock-in

2 点作者 Nevin1901超过 1 年前
Hi,<p>I’ve been working on a lightweight log collector which will run on any vps, is extremely easy to set up, and works with your current libraries.<p>Most log platforms either<p>- are expensive (datadog, newrelic) - require you to use opentelemetry, which is difficult to set up and not well documented - require you to host a clickhouse instance<p>For someone who has projects with less than 5,000 users, I failed to find a simple log platform which worked with the log libraries I already used.<p>Erlog is a simple python script which accepts logs from an HTTP endpoint, and optionally watches log files and inserts JSON formatted logs into a local duckdb database. You can then query logs using natural syntax.<p>There is also support for `parent_id` fields in logs, so you can track execution across many different services (see github).<p>This is MIT licensed. I’d be interested in any feedback you have, and any ways I can improve erlog. I’m thinking of adding support for metrics in the future.<p>The GitHub link is: https:&#x2F;&#x2F;github.com&#x2F;Nevin1901&#x2F;erlog

暂无评论

暂无评论