Skip to content

Commit a083a77

Browse files
committed
require pg 15 at least for stat_statements_jit metric.
the minimum version where `jit_generation_time` field is available in `pg_stat_statements`.
1 parent ae3d7e7 commit a083a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/metrics/metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2767,7 +2767,7 @@ metrics:
27672767
This metric is useful for monitoring query performance and identifying queries with high percent of execution time spent in JIT.
27682768
init_sql: CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
27692769
sqls:
2770-
13: |
2770+
15: |
27712771
select /*pgwatch_generated*/
27722772
(extract(epoch from now()) * 1e9)::int8 as epoch_ns,
27732773
coalesce(sum(jit_generation_time)::numeric, 0)::double precision as total_jit_time,

0 commit comments

Comments
 (0)