Skip to content

Releases: pganalyze/collector

v0.26.0

31 Dec 12:06
Compare
Choose a tag to compare
  • Add new wait events from Postgres 12
  • Avoid unnecessary allocations in ReplaceSecrets function
  • Rename "aws_endpoint_rds_signing_region" to "aws_endpoint_signing_region"
    • This more accurately reflects how the setting is used. Backwards
      compatibility is provided, but its recommended to migrate to the new
      config setting (when in use for custom AWS API endpoints)

v0.25.1

18 Dec 12:46
Compare
Choose a tag to compare
  • Update rds-ca-2019-root.pem file to be correct certificate
    • This was identical to the 2015 certificate by accident, causing
      connection errors

v0.25.0

18 Dec 12:11
Compare
Choose a tag to compare
  • Add new "log_explain" mode, as an alternative to auto_explain (experimental)
    • Enable by setting "enable_log_explain: 1" or "PGA_ENABLE_LOG_EXPLAIN=1"
    • This is intended for providers such as Heroku Postgres where you can't use
      the auto_explain extension to send EXPLAIN plans into pganalyze

v0.24.0

05 Dec 10:05
Compare
Choose a tag to compare
  • Add support for Azure Database for PostgreSQL
  • Add support for Google Cloud SQL
  • Use pg_has_role to determine pg_monitor membership
    • This improves handling of nested memberships, which previously were not
      detected correctly
  • Generalize almost-superuser detection to support Azure and Cloud SQL better
  • Add support for running "--test --reload" to test and reload if successful
    • This makes it easier to not forget reloading the collector after making
      a change

v0.23.0

27 Nov 15:45
Compare
Choose a tag to compare
  • Vacuum progress: Ignore "(to prevent wraparound)" in query text
  • Update distributions for packaging to reflect current versions
    • Remove Ubuntu Precise (its been EOL for 2 years)
    • Remove Fedora 24 (its been EOL for a while)
    • Add Fedora 29
    • Add Fedora 30
    • Add RHEL8
    • Add Debian 10 ("Buster")
  • Import RDS 2019 CA root certificate
    • This is now available by specifying "db_ssl_root_cert = rds-ca-2019-root"
  • Update builds and tests to use Go 1.13

v0.22.0

05 Aug 06:33
Compare
Choose a tag to compare
  • Allow HTTP-only proxy connections when specified by the user
  • Allow all replication LSN fields to be null
  • Add full context for pg_stat_statements error messages
  • Docker: Use entrypoint, provide easy "test" command, hide timestamps
  • Amazon RDS
    • Add support for custom AWS endpoints
    • Include RDS root certificate for Docker builds
    • Automatically detect RDS instance ID from Docker env variables as well
    • Allow the ECS task metadata service
    • Show verbose AWS credentials chain errors

v0.21.0

21 May 09:41
Compare
Choose a tag to compare
  • Self-hosted: Ignore additional file system types that are not important
  • Fix helper process when using systemd service
    • This unfortunately requires us to remove the "NoNewPrivileges" mode, since
      we intentionally use a setuid binary (pganalyze-collector-helper) to be
      able to discover the data directory as well as determine the size
      of the WAL directory
  • Increase systemd service memory limit to 1GB
    • We've previously limited this to 256MB for all use cases, which is too
      small when monitoring multiple systems
  • Security: Lock down permissions for /etc/pganalyze-collector.conf
    • Previously this was world-readable, which may make credentials accessible
      to more system users than intended
    • Upgrading the packages will also apply this fix retroactively

v0.20.0

21 May 09:41
Compare
Choose a tag to compare
  • Allow full snapshots to run when pg_stat_statements is not fully enabled
    • This provides for a smoother onboarding experience, as you can use the
      collector even if pg_stat_statements is not (yet) enabled through
      shared_preload_libraries
  • RDS integration improvements
    • Don't attempt to connect to rdsadmin database
    • Accept rds_superuser as superuser for monitoring purposes
    • Correctly handle enhanced monitoring disk partitions
  • Self-hosted system helper: Explicitly look for process called "postgres"
    • This avoids issues where there is another process that starts postgres
      and runs earlier than the actual postgres process

v0.19.1

12 Apr 08:05
Compare
Choose a tag to compare
  • Add support for compact snapshots saving to local files

v0.19.0

12 Apr 02:19
Compare
Choose a tag to compare
  • Enable logs and activity snapshots by default
    • Note that they are disabled when requested by server, to avoid overwhelming
      the server with compact snapshot grants
  • Reduce memory consumption by only storing the required query texts
    • This also introduces two additional special query texts that get sent:
      • "<pganalyze-collector>" which identifies internal collector queries
      • "<insufficient privilege>" which identifies permission errors
  • The collector now always normalizes query texts directly after retrieval
  • Only display "You are not connecting as superuser" message during tests