Skip to content

Releases: pgEdge/radar

v0.6.0-test1

v0.6.0-test1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Jul 14:20

radar 0.6.0-test1

Binary downloads are available for multiple platforms below.

Changelog

Bug Fixes

  • ba52c3e: fix(radar): address CodeRabbit review + stage goreleaser binaries for packaging (@maqeel75)

Others

  • 6bfb07e: ci(radar): add goreleaser + native RPM/DEB release pipeline (@maqeel75)

Full Changelog: v0.5.0...v0.6.0-test1

v0.5.0

Choose a tag to compare

@vyruss vyruss released this 08 May 11:22
d7f21f5

Added

PostgreSQL

  • stat_ssl collector - per-backend SSL/TLS state
  • stat_replication_slots collector - replication slot spill counters (PG14+)

Per-database

  • sequences collector - sequences with last/min/max values (PG10+)
  • bloat collector - heuristic table bloat estimate from pg_stats
  • pgstattuple collector - authoritative bloat via pgstattuple_approx(); opt-in with -include pgstattuple

CLI

  • -exclude name1,name2 flag - skip named tasks
  • -include name1,name2 flag - enable default-disabled tasks

Changed

  • databases collector adds datfrozenxid, datminmxid, datconnlimit, datistemplate, datallowconn
  • tables collector rebuilt on pg_class + pg_stat_all_tables; adds dead-tup counters, vacuum/analyze timestamps + ages, reloptions, relpersistence, relpages, heap/table/toast sizes; capped at top 1000 by size
  • indexes collector rebuilt on pg_index + pg_stat_all_indexes; adds semantic-key columns, indisvalid, idx_scan/idx_tup_read/idx_tup_fetch, relpages, index_size; capped at top 1000 by size
  • running_activity_maxage collector adds max_lock_wait_age
  • available_extensions collector now sourced from pg_available_extension_versions (one row per version with trust/requires/schema metadata)
  • Archive root now contains radar.out with the radar binary's version (build-time stamp) and commit

Fixed

  • read_ahead collector ignored virtio/xen block devices and produced unlabeled output
  • hostname.out reported resolver-canonical FQDN instead of kernel hostname; added hostname_fqdn.out for the FQDN
  • pg_table_size/pg_relation_size called for every relation pre-sort caused fstat overload on >1000-table clusters; now uses relpages × block_size estimate with fstat fallback for relpages = 0 rows

v0.4.1

Choose a tag to compare

@vyruss vyruss released this 15 Apr 20:41
5ae14db

Fixed

  • Missing PostgreSQL extensions (pg_stat_statements, pg_statviz) no longer reported as errors when not installed

v0.4.0

Choose a tag to compare

@vyruss vyruss released this 01 Apr 12:33
1f4cd85

Added

System (Linux)

  • Cgroup v2 resource limit collectors (cpu.max, memory.max, memory.current, pids, cpuset, io.max, etc.)
  • Cgroup v1 resource limit collectors (cpu.shares, cpu.cfs_quota, memory.limit, etc.)
  • Container identity collectors (cgroup membership, mountinfo, environment, K8s namespace)
  • Cloud/hardware identity collectors (DMI bios_vendor, product_name, sys_vendor, chassis_asset_tag)
  • Auto-detection of container runtime (Docker, Kubernetes, containerd, LXC)

Authentication

  • SSL/TLS with configurable -sslmode (prefer, disable, require, verify-ca, verify-full)
  • Certificate authentication (-sslcert, -sslkey, -sslrootcert)
  • GSSAPI/Kerberos authentication
  • PGSSLMODE, PGSSLCERT, PGSSLKEY, PGSSLROOTCERT environment variables

Changed

  • PostgreSQL driver switched from lib/pq to pgx
  • Default sslmode changed from disable to prefer
  • Go bumped from 1.23 to 1.24.13
  • Collector errors now distinguish skip (unavailable) from real failures

Fixed

  • db handle leak on ping failure
  • Summary printed before zero-data check
  • PGDATABASE fallback ordering with --skip-system
  • Connection string quoting for values with spaces

v0.3.0

Choose a tag to compare

@vyruss vyruss released this 26 Feb 14:48

Added

System (Linux)

  • clocksource collector - current kernel clocksource (tsc/hpet/kvm-clock)
  • diskstats collector - raw kernel I/O counters from /proc/diskstats
  • free collector - memory usage summary
  • io-queue-depth collector - I/O queue depth per block device
  • lscpu collector - structured CPU topology (NUMA, cores, threads, caches)
  • netstat-stats collector - protocol statistics (retransmits, drops)
  • numactl collector - NUMA node layout and memory
  • numastat collector - per-node memory allocation statistics
  • pg-service-status collector - PostgreSQL systemd service status
  • resolv.conf collector - DNS resolver configuration
  • ss-listeners collector - listening sockets and ports
  • ss-summary collector - socket statistics summary
  • timedatectl collector - NTP sync and timezone status

System (macOS)

  • memory-pressure collector - system memory pressure level
  • netstat-stats collector - protocol statistics
  • ulimit collector - resource limits

PostgreSQL

  • connection_summary collector - connection distribution by state and wait event
  • database_conflicts collector - recovery conflicts from pg_stat_database_conflicts
  • database_sizes collector - disk usage per database
  • file_settings collector - config file parse results from pg_file_settings
  • shmem_allocations collector - shared memory breakdown from pg_shmem_allocations
  • stat_progress_cluster collector - CLUSTER/VACUUM FULL progress
  • stat_progress_create_index collector - CREATE INDEX progress
  • stat_statements_calls collector - top 100 queries by call count (pg_stat_statements)
  • stat_statements_max_time collector - top 100 queries by max execution time (pg_stat_statements)
  • stat_statements_total_time collector - top 100 queries by total execution time (pg_stat_statements)
  • tablespace_sizes collector - tablespace disk usage
  • wal_position collector - WAL position and recovery state
  • wal_receiver collector - standby WAL receiver status

Testing

  • Duplicate archive path detection tests for system and PostgreSQL collectors

v0.2.3

Choose a tag to compare

@vyruss vyruss released this 04 Feb 14:43

Fixed

  • Deduplicate system collectors between shared and platform-specific task lists
  • Prevent empty files in ZIP archive using lazy writer pattern

v0.2.2

Choose a tag to compare

@vyruss vyruss released this 13 Jan 18:58

Added

  • databases_blk collector - block read/write statistics from pg_stat_database
  • databases_tup collector - tuple operation statistics from pg_stat_database
  • databases_xact collector - transaction commit/rollback counts from pg_stat_database

v0.2.1

Choose a tag to compare

@vyruss vyruss released this 13 Jan 18:36

Added

  • pgstatviz.repl collector - replication statistics (standby lag, slot stats)
  • pgstatviz.slru collector - SLRU cache statistics

v0.2.0

Choose a tag to compare

@vyruss vyruss released this 23 Dec 15:26

Added

  • pg_stat_checkpointer collector (PostgreSQL 17+) - checkpoint operations
  • pg_stat_io collector (PostgreSQL 16+) - I/O statistics by backend type
  • pg_stat_wal collector (PostgreSQL 14+) - WAL generation statistics
  • pg_postmaster_start_time() collector - server startup timestamp
  • pg_stat_database per-database collector - conflicts, deadlocks, temp files

v0.1.0

Choose a tag to compare

@vyruss vyruss released this 22 Dec 15:33

radar is an agentless, zero-dependency diagnostic data collection tool for PostgreSQL and system metrics.

Key features:

  • Collects system and PostgreSQL metrics for troubleshooting
  • Archives data into a timestamped ZIP file
  • Handles unavailable collectors gracefully
  • Zero dependencies (static binary)