From 31d034c853b85077e9f224ace6a864cd2bc104e2 Mon Sep 17 00:00:00 2001 From: tharun0064 Date: Tue, 4 Feb 2025 16:05:42 +0530 Subject: [PATCH] add comment --- src/query-performance-monitoring/common-utils/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query-performance-monitoring/common-utils/constants.go b/src/query-performance-monitoring/common-utils/constants.go index 8a0e0247..9d3462fe 100644 --- a/src/query-performance-monitoring/common-utils/constants.go +++ b/src/query-performance-monitoring/common-utils/constants.go @@ -7,7 +7,7 @@ const PublishThreshold = 600 const RandomIntRange = 1000000 const TimeFormat = "20060102150405" -// The maximum number of individual queries that can be fetched in a single metrics +// The maximum number of individual queries that can be fetched in a single metrics, the value was choosen as the queries samples were with same query statements but with different parameters so 10 samples would be enough to check the execution plan const MaxIndividualQueryCountThreshold = 10 var ErrUnsupportedVersion = errors.New("unsupported PostgreSQL version")