qmetrics.net

Logrus

Structured pluggable logging package for Go

Monitoring & ObservabilityMaintenance modeDesktop/CLI app

Logrus is in maintenance mode: “Logrus is in maintenance mode.” source

Logrus is a Go logging library that stays compatible with the standard library logger while adding structured fields, hooks, and multiple output formats.

Overview

Logrus targets Go programs that want leveled, structured logs instead of long unstructured strings. It exposes the same call patterns as the standard logger so imports can be swapped, and you can add key-value fields that make events easier to search later.

Built-in formatters emit colorized text for terminals, JSON for aggregators, or logfmt-style lines when no TTY is present. Hooks let you fan out messages by level to syslog, metrics systems, or custom sinks. Seven severity levels are supported from trace through panic.

The package can attach default fields to an entry for request-scoped context, optionally record caller method names, register fatal handlers before exit, and act as an io.Writer for redirecting standard library log output. A mutex guards concurrent writes by default.

The maintainers describe the project as in maintenance mode, focusing on security fixes, bugs, and performance rather than new features, while keeping interoperability with Go's newer slog ecosystem in mind.

Key features

  • Structured field-based log entries
  • JSON, text, and logfmt formatters
  • Level-based hooks for external sinks
  • Stdlib-compatible logger API
  • Optional caller method field
  • Built-in test hooks for assertions
  • Fatal message handler registration
  • Thread-safe concurrent writes

Use cases

  • Adding searchable fields to Go services
  • Shipping JSON logs to aggregation stacks
  • Routing errors to monitoring hooks
  • Dropping into existing stdlib log calls

Tags

Similar software

Uptime Kuma

Self-hosted uptime monitoring with status pages and alerts

Uptime Kuma is a self-hosted monitoring tool for checking whether services stay online. It covers many probe types and can notify you through numerous messaging and email channels.

★ 95k⟳ yesterdayMIT
Open Source Alternative to:Pingdom

World Monitor

Real-time global intelligence dashboard for news and geopolitics

World Monitor combines live news, market data, and geopolitical signals on interactive world maps. Available on the web, as desktop builds, a terminal UI, CLI, SDKs, and an MCP server.

★ 91.3k⟳ todayAGPL-3.0
Open Source Alternative to:Liveuamap

Netdata

Per-second full-stack infrastructure observability platform

Netdata collects metrics, logs, and traces where they are generated, with per-second resolution, built-in dashboards, alerts, and machine learning anomaly detection on every metric.

★ 81.7k⟳ todayGPL-3.0
Open Source Alternative to:Application InsightsBetterStack+8

Grafana

Composable observability and data visualization platform

Grafana queries, visualizes, and alerts on metrics, logs, and traces from many backends. Teams build and share dashboards to explore operational data.

★ 78.2k⟳ todayAGPL-3.0
Open Source Alternative to:BetterStackNew Relic

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

Sentry

Developer error tracking and performance monitoring

Sentry is a debugging platform for detecting, tracing, and fixing application issues. SDKs connect code to error, performance, replay, and related signals in one workflow.

★ 45.9k⟳ todaySource-available