Changed:
- When password and
aws.region
are set andaws.managed_authentication
is not set, password authentication will be used. IAM Token authentication used to be prioritized. (#18331)
Added:
- Added an option to specify default db agent uses to perform autodiscovery operations (#18037)
- Update the propagate_agent_tags setting. When set to
true
, the tags from the agent host are now added to the check's tags for all instances. (#18358) - Add cluster_name as tag to PG metrics (#18402)
- Update dependencies (#18478)
Fixed:
- Fix errors resulting from certain ignore_databases settings Clarified documentation on ignore_databases (#18287)
- Set the default port to 5432 when user don't provide one, this corrects the issue where the generated IAM authentication token is invalid when a port isn't provided. (#18386)
Added:
- Add global custom queries for Postgres (#17993)
- Added warning when SSL option for Postgres check is invalid (#18047)
- Allow filtering of schema collection in Postgres using regexes to include or exclude objects (#18145)
- Collect blk read/write time from pg_stat_database (#18169)
- Use QueryManager to collect
custom_queries
andglobal_custom_queries
.custom_queries
now supports configurablecollection_interval
. (#18183) - Update dependencies (#18185)
- Add new config option
role_arn
to AWS managed authentication to support cross account IAM auth. (#18228)
Fixed:
- Fixed Postgres settings collection for common extensions (#18043)
- Fixed Postgres check crash when pg_stat_statements was not yet loaded (#18081)
- Remove schema collection and dependency on relation metrics. Instead a warning is issued when the missing metrics will impact which tables are collected. Removed the autodiscovery dependency on relation metrics; autodiscovery should now work even if relation metrics are not configured. (#18144)
Fixed:
- Emit dead/live toast rows as gauge (#18009)
Changed:
-
Drop explain plan errors to debug level.
Explain plan collection can fail for any number of legitimate reasons, so avoid polluting the logs by logging them at the debug level. (#17974)
Added:
- Update dependencies (#17817), (#17953)
- Add toast metrics to relation metrics and remove usage of pg_stat_user_tables (#17897)
- Add collect of metrics for buffer cache usage (#17960)
Fixed:
- Update config model names (#17802)
- Upgrade
azure-identity
dependency (#17862) - Ignore DBM explain plan collection queries in query metrics. (#17903)
Added:
- Added the following metrics from
pg_stat_io
when DBM is enabled. Only available with PostgreSQL 16 and newer- postgresql.io.evictions
- postgresql.io.extends
- postgresql.io.extend_time
- postgresql.io.fsyncs
- postgresql.io.fsync_time
- postgresql.io.hits
- postgresql.io.reads
- postgresql.io.read_time
- postgresql.io.writes
- postgresql.io.write_time (#17423)
- Update dependencies (#17424), (#17519)
Fixed:
- This un-reverts #17187, which was reverted due to a flaw in the logic that could result in improper metric counts. The fixed version caches an initial state of pg_stat_statements and updates it with incremental partial query data. This allows the agent to only fetch full rows for queries that were called between check runs, while also accounting for queryids that can map to the same query_signature. (#17554)
- Send database instance metadata prior to check queries. This prevents a scenario where exceptions thrown during check execution can cause the database_instance resource to not be emitted. When the resource is not emitted, this can cause flapping in host tags. For example, a customer might see dbms:N/A for a period of time until a new database_instance resource is created. Moving this means it will always be sent, even if an unexepected exception is thrown during check execution. (#17590)
- Adds debug info for exceptions in custom queries and preserves running of the remaining queries (#17679)
Fixed:
- Decreased database instance collection interval from 1800 seconds to 300 seconds to improve reliability (#17535)
Fixed:
- Fixed a bug where schemas with tables of the same name were incorrectly reporting indexes of those tables multiple times (#17480)
Added:
- Added collect_checksum_metrics option to collect Postgres failed checksum counts for databases with it enabled. (#17203)
- Collect postgres setting parameter
source
,sourcefile
andpending_restart
from pg_settings (#17250) - Collect the postgres table owner field in postgres schema payloads, which will be displayed in the database-monitoring schemas feature. (#17314)
- Update dependencies (#17319)
- Upgrade boto dependencies (#17332)
- Add new postgresql.running metric (#17418)
- Add fastpath tag to lock metrics (#17451)
Fixed:
- Fixed bug where
statement_timeout
setting incorrectly reflected integration connection value instead of database level- Adjusted
statement_timeout
to apply at the session level post-database connection. - Modified the
pg_settings
query to selectreset_val
when sourced from 'session', guaranteeing the retrieval of the accurate server-level setting. (#17264)
- Adjusted
- Improved performance of database schema collection. (#17381)
- Fix default value for pg_stat_statements_view (#17400)
Fixed:
-
Revert Postgres Optimization (#17187).
This appears to lead to inflated metrics in certain cases. Removing this optimization while we fix the inflated metrics. (#17397)
Added:
- Add config option
propagate_agent_tags
to propagate agent tags fromdatadog.yaml
to postgres check. By default, the propagation is disabled. (#17122)
Changed:
- PostgreSQL: Enable replication role tag by default (#16895)
- PostgreSQL: Optimise table count query. postgresql.table.count metric doesn't use max_relations parameter anymore and will always yield the total number of tables per schema. Parent table of partitions tables will also be included in the table count for PG 11, 12 and 13. All versions after PG 14 already included parent table. (#17109)
Added:
- Update dependencies (#16899), (#16963)
- PostgreSQL: Add PostgreSQL server version as a tag (#16900)
- PostgreSQL: Add system_identifier as a metric tag (#16911)
- Set
collect_wal_metrics
to false will disable wal file metrics collection for all pg versions (#16990) - Perform database connection health check at the start of check run (#17007)
- Added support for new query metrics wal_bytes, wal_records, and wal_fpi for PG versions >= 13. These metrics can now be accessed under postgresql.queries.wal_bytes, postgresql.queries.wal_records, and postgresql.queries.wal_fpi. In order to collect these metrics Database Monitoring must be enabled. (#17144)
- Added support for collecting total_plan_time, max_plan_time, mean_plan_time , min_plan_time, stddev_plan_time query metrics for PostgreSQL versions 13 and above. These new query metrics can now be accessed under postgresql.queries.total_plan_time, postgresql.queries.max_plan_time, postgresql.queries.mean_plan_time, postgresql.queries.min_plan_time, and postgresql.queries.stddev_plan_time. To collect these metrics Database monitoring needs to be enabled. You will also need to enable pg_stat_statements.track_planning in your database. (#17148)
- Tag postgres integration queries with service:datadog-agent (#17156)
Fixed:
-
Performance optimization: Limit how many records are pulled from pg_stat_statements.
There's no need to send a metric if no calls of a query have occurred since the last check. So this makes an additional up-front query to pg_stat_statements that pulls just enough data to create a mapping from queryid to calls which we cache in between runs. We then use that to determine what has been executed since the last check, and only query full metrics data for queries that have been executed.
In the benchmark environment, this led to a 98% reduction in how many queries need to be returned to the Agent, which reduces Agent processing time, memory consumption, and network ingress. (#17187)
-
Skip relations with granted AccessExclusiveLock to avoid relations metrics query timeout (#17234)
-
Fix NoneType error in schema collection when partition tables have no activities (#17235)
Changed:
- Postgres schemas: don't exclude tables without metrics from schema collection (#16834)
- Don't require relation metrics to be enabled to collect schemas (#16870)
Added:
- Collect function & count metrics for auto discovered databases (#16530)
- Allow configuration of ignored patterns for settings collection, under the
ignored_settings_patterns
key (#16634) - DBM integrations now defaulted to use new go-sqllexer pkg to obfuscate sql statements (#16681)
- Update dependencies (#16788)
- Bump dependencies (#16858)
Fixed:
- Update default table schema collection limit to 300 (#16880)
Fixed:
- Fix incompatibility issues with Python 3.9 and lower (#16608)
- Fix autovacuum metrics for postgres >= 10 (#16612)
Added:
- When host auto discovery is enabled, do nothing and emit OK for check status (#16540)
Fixed:
- Fix vacuum age computation (#16581)
Changed:
- Always use the database instance's resolved hostname for metrics regardless of how dbm and disable_generic_tags is set. For non-dbm customers or users of disable_generic_tags, this change will result in the host tag having a different value than before. It is possible that dashboards and monitors using the integration's metrics will need to be updated if they relied on the faulty host tagging. (#16199)
Added:
- Bump the Python version from py3.9 to py3.11 (#15997)
- PostgreSQL: Add metrics for logical replication subscriptions (#16191)
- PostgreSQL: Add replication slots stats metric from pg_stat_replication_slots (#16197)
- Add managed_authentication config option to explicitly enable or disable AWS IAM Authentication and Azure Managed Identity Authentication (#16221)
- Add metrics tracking vacuum, analyze and cluster progress (#16236)
- PostgreSQL: Add granted tag to
postgresql.locks
metric (#16268) - Add metrics tracking vacuum and analyze age (#16272)
- Create
postgresql.create_index.*
metrics tracking progress of index creation (#16330) - Update dependencies (#16394), (#16448), (#16502)
- Add new obfuscator options to customize SQL obfuscation and normaliza… (#16429)
Fixed:
- PostgreSQL: Exclude manually launched vacuum from pg_stat_activity metrics (#16206)
- Exclude manual vacuum from reported xid and xmin age (#16290)
- Add rdsadmin to autodiscovery exclusion list (#16396)
- Emit correct error message when explain parameterized query fails (#16516)
- Improve edge case handling on partitioned table activity query when a partitioned table has no children (partitioned sub-tables) (#16517)
Fixed:
- Revert "report sql obfuscation error count (#15990)" (#16439)
Added:
- Updated dependencies. (#16154)
Fixed:
- Remove an unnecessary print statement (#15594)
- Database instance metadata payloads should not contain duplicate
db
tags (#16146)
Added:
- Upgrade
psycopg2-binary
tov2.9.8
(#15949) - Add support for reporting SQL obfuscation errors (#15990)
- Emit postgres metrics queries operation time (#16040)
- Add obfuscation_mode config option to allow enabling obfuscation with go-sqllexer (#16071)
Fixed:
- Add cloudsqladmin to default list of databases to exclude from autodiscovery and databases to ignore to prevent failures on Postgres 15 on Google CloudSQL (#16027)
- Bump the minimum base check version to 34.1.0 (#16062)
- Collect Postgres size metrics for auto-discovered databases (#16076)
Fixed:
- Fix check cancellation timeout due to
DBMAsyncJob
cancellation being blocked (#16028)
Added:
- Establish a dedicated main db connection to prevent the main thread db from closing prematurely (#15962)
Changed:
- Update
ssl
default configuration to 'allow' (#15917)
Added:
- Update dependencies (#15922)
Fixed:
- Revise
postgresql.replication_delay
to function with archive WAL-driven replica (#15925) - Prevent Postgres integration from collecting WAL metrics from Aurora instances that cannot be collected (#15896)
- Set lower log level for relations metrics truncated (#15903)
Added:
- Add schema collection to Postgres integration (#15484) (#15866)
Added:
- Attempt to connect to the database and fail fast before trying to establish a connection pool (#15839)
Fixed:
- Revert psycopg3 upgrade (#15859)
Fixed:
- Initialize pg_settings on Postgres check start and lazy load pg_settings if it's not set (#15773)
Fixed:
- Set lower connection timeout on connection pool to avoid long running checks (#15768)
Fixed:
- Pass timeout when connection pool closes (#15724)
Fixed:
- Return Azure AD auth token in correct format (#15701)
Added:
- Add schema collection to Postgres integration (#15484)
- Add support for sending
database_instance
metadata (#15559) - Update dependencies for Agent 7.48 (#15585)
- Add support for authenticating through Azure Managed Identity (#15609)
Fixed:
- Fix explaining parameterized queries flood server logs (#15612)
- Update datadog-checks-base dependency version to 32.6.0 (#15604)
- Prevent
command already in progress
errors in the Postgres integration (#15489)
Fixed:
- Fix InstanceConfig loading error for
ssl
config becausetrue
is not a valid value. Please, userequire
instead oftrue
(#15611)
Added:
- Add support to ingest sys.configurations for SQL Server instances (#15496)
- Bump psycopg3 version && add timeouts on blocking functions (#15492)
- Update generated config models (#15212)
- Add
max_connections
config option and enforce it in Postgres integration (#15194) - Add database autodiscovery to Postgres integration (#14811)
Fixed:
- Fix error handling for psycopg3 err messages (#15488)
- Upgrade postgres check to psycopg3 (#15411)
- Fix types for generated config models (#15334)
Fixed:
- Bump the minimum datadog-checks-base version (#15238)
Changed:
- Require Python 3 for Postgres integration (#14813)
Added:
- Bump dependencies for Agent 7.47 (#15145)
- Add limited pool + LRU cache to MultiDatabaseConnectionPool (#14786)
- Rewrite Postgres size query and add
postgresql.relation.{tuples,pages,all_visible}
+ toast_size metrics (#14500) - Add metrics for timeline id and checkpoint delay (#14759)
- Add
postgresql.wal.*
metrics frompg_stat_wal
(#13768) - PG: Add metrics for wal files: count, size and age (#13725)
- Allow explain plan collection to be configured separately from activity collection in pg agent (#14673)
- Make cancel() synchronous in DBMAsyncJob (#14717)
- Postgres: Add
postgres.snapshot.{xmin,xmax,xip_count}
metric (#13777) - Report per-index disk usage metrics for PostgreSQL (#13880) Thanks jcoleman.
Fixed:
- Fix version parsing of version strings with an edition suffix (#14803)
- Move cancel waiting logic to test functions for DBMAsyncJob (#14773)
- Bump Python version from py3.8 to py3.9 (#14701)
- Properly close db connections for metadata check on cancel (#14709)
Added:
- Support IAM-based RDS authentication (#14581)
Deprecated:
- No longer test postgres 9.5 (#14582)
Added:
- Support ingesting pg_settings for
dbm
users (#14577) - Enable explain parameterized query feature by default (#14543)
- Create
postgresql.uptime
metric (#14470) - Add pgss dealloc metric (#14289)
Fixed:
- Fix pg_replication_slots query generating errors on posgres replica database with replication slot (#14531) Thanks boluwaji-deriv.
- Don't try to collect wal receiver if aurora is detected (#14537)
- Rename azure.name configuration key to azure.fully_qualified_domain_name (#14532)
- Fix query sampler producing constant errors about undefined parameters (#14440)
Added:
- Send resource_type/name for postgres integration metrics (#14338)
- Update dependencies (#14357)
- Add cloud_metadata to DBM event payloads (#14313)
- Add PostgreSQL replication conflict metrics from
pg_stat_database_conflicts
(#13542) - Add new sessions metrics from PG14 (#13723)
Fixed:
- Reduce the number of idle connections opened when running explain plans across databases (#14164)
Added:
- Add resolved_hostname to metadata (#14092)
- Add
postgresql.replication_slot.*
metrics (#14013) - Add
postgresql.wal_receiver.*
metrics (#13852)
Fixed:
- Avoid brief
postgresql.replication_delay
spikes after Postgres restart/reload (#13796)
Added:
- Add
application_name
to activity metrics and report oldestbackend_xmin
,backend_xid
andxact_start
(#13523) - Add SLRU cache metrics for Postgres (#13476)
- Add
postgresql.replication.backend_xmin_age
metric and useclient_addr
as additional label (#13413)
Fixed:
- Update dependencies (#13726)
- Fix bug in replication role tag (#13694)
- Bump the base check dependency (#13643)
Added:
Fixed:
- Update dependencies (#13478)
- Fix inflated query metrics when pg_stat_statements.max is set above 10k (#13426)
- Do not install psycopg2-binary on arm macs (#13343)
Added:
- Improve DBM explain plan error collection errors (#13224)
Removed:
- Remove postgres tag truncation for metrics (#13210)
Changed:
- Update default configuration to collect postgres database by default (#12999)
Added:
- Add Agent settings to log original unobfuscated strings (#12926)
Fixed:
- Fix deprecation warnings with
semver
(#12967) - Honor
ignore_databases
in query metrics collection (#12998)
Fixed:
- Dependency updates (#12653)
- Escape underscore in LOCK_METRICS query (#12652)
- Fix operator precedence in relation filter (#12645) Thanks jonremy.
- Use readonly connections (#12608)
- Add missing arguments to log statement (#12499) Thanks carobme.
Added:
- Track blk_read_time and blk_write_time for Postgres databases if track_io_timing is enabled (#12380)
Fixed:
- Fix Postgres calculation of blk_read_time and blk_write_time metrics (#12399)
Added:
- Add option to keep alias and dollar quote functions in postgres (
keep_sql_alias
andkeep_dollar_quoted_func
) (#12019) - Add support to ingest cloud_metadata for DBM host linking (#11987)
- Add query_truncated field on activity rows (#11885)
Fixed:
- Fix uncommented parent options (#12013)
Fixed:
- Fix activity and sample host reporting (#11855)
Fixed:
- Update base version (#11824)
Added:
- Upgrade dependencies (#11726)
- Add metric_patterns options to filter all metric submission by a list of regexes (#11695)
Fixed:
- Fix postgres activity inflated query durations (#11765)
Added:
- Enable SQL metadata collection by default (#11602)
Fixed:
- Include SQL metadata in FQT (#11640)
Fixed:
- Cache pg_stat_activity columns for sampling query (#11588)
Added:
- Add ability to collect blocking pids for queries run on postgres dbs (#11497)
- Add
pyproject.toml
file (#11417) - Report known postgres database configuration errors as warnings (#11209)
Fixed:
- Fix namespace packaging on Python 2 (#11532)
- Update base version (#11289)
- Fix relations config parsing when multiple relations are specified (#11195)
- Fix license header dates in autogenerated files (#11187)
Fixed:
- Update base version (#11289)
Fixed:
- Fix relations config parsing when multiple relations are specified (#11195)
Fixed:
- Fix license header dates in autogenerated files (#11187)
Fixed:
- Update base version (#11116)
Changed:
- Improve internal explain error troubleshooting metrics (#10933)
Added:
- Add statement metadata to events and metrics payload (#10879)
- Add the option to set a reported hostname (Postgres) (#10682)
- Add new metric for waiting queries where state is active (#10734) Thanks jfrost.
Fixed:
Fixed:
- Add datname to connections query for postgresql.connections (#10748)
Added:
- Add internal debug metric for explain error cache length (#10616)
- Add index bloat metric (#10431)
- Add ssl configuration options to postgres integration (#10429)
- Add postgres vacuumed and autoanalyzed metrics (#10350) Thanks jeroenj.
- Add option to disable bloat metrics (#10406)
Fixed:
- Use optimized pg_stat_statements function to fetch the count of rows (#10507)
Changed:
- Change
postgresql.connections
metric collection when DBM is enabled (#10482)
Fixed:
- Fix bug in PG activity collection interval logic (#10487)
- Upgrade datadog checks base to 23.1.5 (#10466)
Changed:
- Add option to disable generic tags (#10099)
Added:
Fixed:
- Bump datadog checks base version (#10300)
- Avoid re-explaining queries that cannot be explained (#9941)
Fixed:
- Fix missing caching of pg_settings (#10006)
Fixed:
- Fix postgres collection_errors error reference (#9982)
Changed:
- Update postgres obfuscator options config (#9884)
- Set a default statement timeout for postgres to 5s (#9847)
- Remove messages for integrations for OK service checks (#9888)
Added:
- Collect settings from pg_settings and submit pg_stat_statements metrics (#9928)
- Add agent version to postgres database monitoring payloads (#9917)
Fixed:
- Send the correct hostname with metrics when DBM is enabled (#9865)
- Revert "Upgrade
psycopg2
on Python 3" (#9835)
Added:
Added:
- Add new relation metrics (#9758)
- Use
display_default
as a fallback fordefault
when validating config models (#9739)
Fixed:
- Fix debug log formatting (#9752)
Fixed:
- Fix wrong errors related to pg_stat_statements setup (#9733)
- Bump
datadog-checks-base
version requirement (#9719)
Fixed:
- fix incorrect
min_collection_interval
on DBM metrics payload (#9696)
Fixed:
- fix None-version crash for DBM statement metrics (#9692)
Fixed:
- Fix obfuscator options being converted into bytes rather than string (#9677)
Fixed:
- fix broken error handling in reading of pg_settings (#9672)
Changed:
- Change DBM
statement
config keys and metric terminology toquery
(#9664) - remove execution plan cost extraction (#9632)
- decouple DBM query metrics interval from check run interval (#9657)
- DBM statement_samples enabled by default, rename DBM-enabled key (#9618)
- Upgrade psycopg2-binary to 2.8.6 (#9535)
Added:
- Add DBM SQL obfuscator options (#9640)
- Add truncated statement indicator to postgres query sample events (#9597)
- Add better error handling/reporting for database errors when querying pg_stat_statements (#9628)
- Provide a reason for not having an execution plan (Postgres) (#9563)
Fixed:
- Fix insufficient rate limiting of statement samples (#9581)
- log execution plan collection failure at debug level (#9562)
- Enable autocommit on all connections (#9494)
Fixed:
- Remove instance-level database tag from DBM metrics & events (#9469)
Fixed:
- Bump minimum base package requirement (#9449)
Removed:
- Remove unused query metric limit configuration (#9377)
Changed:
- Send database monitoring "full query text" events (#9405)
- Exclude
EXPLAIN
queries frompg_stat_statements
(#9358) - Extract relations logic to RelationsManager (#9322)
- Collect statement metrics & samples from all databases on host (#9252)
- Remove
service
event facet (#9275) - Send database monitoring query metrics to new intake (#9222)
Added:
- Filter lock relation metrics by relkind (#9323)
Fixed:
- Allow strings in relations (#9432)
- Postgres 13 support for statement metrics (#9365)
- Fix erroneous postgres statement metrics on duplicate queries (#9231)
Fixed:
- Revert way of checking if it's aurora (#9224)
Fixed:
- Fix config validation for
relations
(#9242)
Changed:
- Submit DBM query samples via new aggregator API (#9045)
Added:
- Add runtime configuration validation (#8971)
Fixed:
- Fix wrong timestamp for DBM beta feature (#9024)
Added:
- Collect postgres statement samples & execution plans for deep database monitoring (#8627)
- Apply default limits to Postres statement metrics (#8647)
Fixed:
Fixed:
- Fix query syntax (#8661)
Fixed:
- Add dbstrict option to limit queries to specified databases (#8643)
- Rename config spec example consumer option
default
todisplay_default
(#8593)
Fixed:
- Fix Postgres statements to remove information_schema query (#8498)
- Bump minimum package (#8443)
- Do not run replication metrics on newer aurora versions (#8492)
Fixed:
- Removed duplicated metrics (#8116)
Added:
- Add new metrics for WAL based logical replication (#8026)
Fixed:
- Fix query tag to use the normalized query (#7982)
- Change
deep_database_monitoring
language from BETA to ALPHA (#7947)
Added:
- Support postgres statement-level metrics for deep database monitoring (#7852)
- [doc] Add encoding in log config sample (#7708)
Fixed:
- Fix noisy log when not running on Aurora (#7542) Thanks lucasviecelli.
Added:
- Allow customizing application name in Postgres database (#7528)
Fixed:
Fixed:
- Cache version and is_aurora independently (#7480)
- Fix style for the latest release of Black (#7438)
- [datadog_checks_dev] Use consistent formatting for boolean values (#7405)
Fixed:
- Update logs config service field to optional (#7209)
Fixed:
- Avoid aurora pg warnings (#7123)
Changed:
- Add
max_relations
config (#6725)
Added:
- Add config specs (#6547)
Fixed:
- Remove references to
use_psycopg2
(#6975) - Fix template specs typos (#6912)
- Extract config to new class (#6500)
Changed:
- Postgres lock metrics are relation metrics (#6498)
Added:
- Allow optional dependency installation for all checks (#6589)
- Refactor multiple instance to single instance (#6510)
Fixed:
Fixed:
- Rollback db connection when we get a 'FeatureNotSupported' exception (#5882)
Fixed:
- Handle FeatureNotSupported errors in queries (#5749)
Fixed:
Added:
- Add version metadata (#4874)
Fixed:
- Handle connection closed (#5350)
Added:
- Add lock_type tag to lock metric (#5006) Thanks tjwp.
- Extract version utils and use semver for version comparison (#4844)
Added:
- Upgrade psycopg2-binary to 2.8.4 (#4840)
Fixed:
- Remove multi instance from code (#4831)
Fixed:
- Add cache invalidation and better thread lock (#4723)
Added:
Fixed:
- Catch statement timeouts correctly (#4501)
Fixed:
- Document new config option (#4480)
Fixed:
- Fix query condition (#4484) Thanks dpierce-aledade.
Added:
- Make table_count_limit a parameter (#3729) Thanks fischaz.
- Add postgresql application name to connection (#4295)
Changed:
- Add SSL support for psycopg2, remove pg8000 (#4096)
Fixed:
- Fix tagging for custom queries using custom tags (#3930)
Added:
- Add regex matching for per-relation metrics (#3916)
Added:
Fixed:
- Use configuration user for pgsql activity metric (#3720) Thanks fischaz.
- Fix schema filtering on query relations (#3449) Thanks fischaz.
Added:
- Adds an option to tag metrics with
replication_role
(#2929) - Add
server
tag to metrics and service_check (#2928)
Added:
- Support multiple rows for custom queries (#3242)
Added:
- Finish Python3 Support (#2949)
Added:
- Bump psycopg2-binary version to 2.7.5 (#2799)
Added:
Fixed:
- Fix version detection for new development releases (#2401)
Fixed:
- Fix version detection for Postgres v10+ (#2208)
Fixed:
- Gracefully handle errors when performing custom_queries (#2184)
- Gracefully handle failed version regex match (#2178)
Added:
- Add number of "idle in transaction" transactions and open transactions (#2118)
- Implement custom_queries and start deprecating custom_metrics (#2043)
- Re-enable instance tags for server metrics on Agent version 6 (#2049)
- Rename dependency psycopg2 to pyscopg2-binary (#1842)
- Correcting duplicate metric name, add index_rows_fetched (#1762)
Fixed:
Fixed:
- Fixed postgres verification script (#1764)
Security:
- Update psycopg2 for security fixes (#1538)
Fixed:
Fixed:
- Adding db rollback when transaction fails in postgres metrics collection. See#1193.
Fixed:
- Adding support for postgres 10 (#1172)
Deprecated:
- Starting with agent6 the postgres check no longer tag server wide metrics with instance tags (#1073com//issues/1073)
Added:
- Adding configuration for log collection in
conf.yaml
Fixed:
- Adding instance tags to service check See #1042
Added:
- Adding an option to include the default 'postgres' database when gathering stats #740
Fixed:
- Allows
schema
as tag for custom metrics when no schema relations have been defined See#776
Changed:
- Deprecating "postgres.replication_delay_bytes" in favor of "postgresql.replication_delay_bytes". See#639 and #699, thanks to @Erouan50
Fixed:
- Allow specifying postgres port as string (#607, thanks @infothrillcom/infothrill)
Added:
- Collect pg_stat_archiver stats in PG>=9.4.
Added:
- Provide a meaningful error when custom metrics are misconfigured (#446com//issues/446)
Changed:
- bump psycopg2 to 2.7.1 (#295)
Added:
- adds postgres integration.