Skip to content

Commit 7557b03

Browse files
authored
[DBMON-6001] Revert full_statement_text_samples_per_hour_per_query back to 1 (#22113)
* Revert full_statement_text_samples_per_hour_per_query back to 1 * Add changelog
1 parent 85a3c50 commit 7557b03

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

postgres/assets/configuration/spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ files:
565565
Set the max number of full statement text samples to collect per hour per query.
566566
value:
567567
type: number
568-
default: 10000
568+
default: 1
569569
- name: incremental_query_metrics
570570
hidden: true
571571
description: |

postgres/changelog.d/22113.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixes a regression introduced in ([#21347](https://github.com/DataDog/integrations-core/pull/21347)) that caused us to cache recently seen FQT events for 0.36 seconds instead of 3600 seconds

postgres/datadog_checks/postgres/config_models/dict_defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def instance_query_metrics():
3333
incremental_query_metrics=False,
3434
baseline_metrics_expiry=300,
3535
full_statement_text_cache_max_size=10000,
36-
full_statement_text_samples_per_hour_per_query=10000,
36+
full_statement_text_samples_per_hour_per_query=1,
3737
run_sync=False,
3838
)
3939

0 commit comments

Comments
 (0)