qmetrics.net

py-spy

Low-overhead sampling profiler for live Python programs

py-spy screenshot

py-spy attaches to a running CPython process or launches one, sampling stacks without code changes and reporting via top, dump, or recorded flame graphs.

Overview

py-spy is a sampling profiler for CPython programs. It inspects a live interpreter from outside the target process, which keeps overhead low enough for many production workloads and avoids injecting profiling hooks into application code.

The record subcommand writes interactive flame graphs, speedscope files, or raw samples. top shows a live ranking of hot functions similar to Unix top. dump prints current per-thread Python stack traces, with optional local variable details when requested.

Stack reconstruction reads process memory via OS-specific APIs, walking interpreter structures across supported CPython versions on Linux, macOS, Windows, and FreeBSD. Optional modes profile native extensions, follow child processes, filter to GIL-holding threads, or reduce pause time at the cost of occasional incomplete stacks.

Distribution includes PyPI wheels, GitHub release binaries, Homebrew on macOS, and distro packages. Container and Kubernetes notes describe elevated ptrace capabilities needed to read memory from other containers.

Key features

  • Attach-by-PID or launch-and-profile
  • Flame graph and speedscope export
  • Live top-style dashboard
  • Instant stack dump command
  • Native extension stack samples
  • Subprocess and multiprocessing follow
  • GIL-aware thread filtering
  • Non-pausing sampling option

Use cases

  • Production latency investigations
  • Hung Python process diagnosis
  • Flame graph performance tuning
  • Profiling without redeploying code
  • Containerized service stack traces

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.

  • HTTP, TCP, and ping monitors
  • WebSocket and DNS record checks
  • Docker container monitoring
JavaScriptLinux, Windows, DockerDetails →
★ 95.2k⟳ todayMIT
Open Source Alternative to:ChecklyPingdom+1

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.

  • Per-second metric collection
  • ML anomaly detection per metric
  • OpenTelemetry ingestion
GoLinux, macOS, Windows, DockerDetails →
★ 81.8k⟳ todayGPL-3.0
Open Source Alternative to:AppDynamicsApplication Insights+13

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.

  • Flexible visualization panels and plugins
  • Dynamic dashboards with template variables
  • Ad-hoc metrics explore and drilldown
GoDetails →
★ 78.5k⟳ todayAGPL-3.0
Open Source Alternative to:AppDynamicsApplication Insights+8

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.

  • Multi-dimensional time series model
  • PromQL query language
  • HTTP pull-based metric collection
GoDockerDetails →
★ 68.2k⟳ todayApache-2.0
Open Source Alternative to:CloudWatchDash0+6

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.

  • Error and exception tracking
  • Application performance monitoring
  • Connected logs, replays, and traces
PythonDetails →
★ 45.9k⟳ todaySource-available

Stats

Free macOS menu bar system monitor

Stats shows CPU, GPU, memory, disk, network, sensors, and battery readings from the macOS menu bar. It runs on Apple Silicon and Intel Macs with customizable modules and widgets.

  • Nine monitoring modules
  • Thirteen menu bar widget styles
  • CPU and GPU load with temperatures
SwiftmacOSDetails →
★ 43.8k⟳ todayMIT
Open Source Alternative to:iStat Menus