Releases: pganalyze/collector
Releases · pganalyze/collector
v0.26.0
- 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)
- This more accurately reflects how the setting is used. Backwards
v0.25.1
v0.25.0
- 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
- 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
- This improves handling of nested memberships, which previously were not
- 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
- This makes it easier to not forget reloading the collector after making
v0.23.0
- 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
- 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
- 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
- This unfortunately requires us to remove the "NoNewPrivileges" mode, since
- 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
- We've previously limited this to 256MB for all use cases, which is too
- 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
- Previously this was world-readable, which may make credentials accessible
v0.20.0
- 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
- This provides for a smoother onboarding experience, as you can use the
- 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
- This avoids issues where there is another process that starts postgres
v0.19.1
v0.19.0
- 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
- Note that they are disabled when requested by server, to avoid overwhelming
- 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
- This also introduces two additional special query texts that get sent:
- The collector now always normalizes query texts directly after retrieval
- Only display "You are not connecting as superuser" message during tests