Skip to content

Commit 09f2cc3

Browse files
committed
Remove jit_generation_time field from stat_statements_no_query_text metric.
1 parent 07b2f84 commit 09f2cc3

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

internal/metrics/metrics.yaml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,7 +3016,6 @@ metrics:
30163016
round(sum(temp_blk_write_time)::numeric, 3)::double precision as temp_blk_write_time,
30173017
sum(wal_fpi) as wal_fpi,
30183018
sum(wal_bytes) as wal_bytes,
3019-
round(sum(s.jit_generation_time)::numeric, 3)::double precision as jit_generation_time,
30203019
round(sum(s.total_plan_time)::numeric, 3)::double precision as total_plan_time
30213020
from
30223021
pg_stat_statements s
@@ -3098,18 +3097,6 @@ metrics:
30983097
temp_blks_written desc
30993098
limit 100
31003099
) a
3101-
union
3102-
select * from (
3103-
select
3104-
*
3105-
from
3106-
q_data
3107-
where
3108-
jit_generation_time > 0
3109-
order by
3110-
jit_generation_time DESC
3111-
limit 100
3112-
) a;
31133100
17: |-
31143101
with /* pgwatch_generated */ q_data as (
31153102
select
@@ -3131,7 +3118,6 @@ metrics:
31313118
round(sum(temp_blk_write_time)::numeric, 3)::double precision as temp_blk_write_time,
31323119
sum(wal_fpi)::int8 as wal_fpi,
31333120
sum(wal_bytes)::int8 as wal_bytes,
3134-
round(sum(s.jit_generation_time)::numeric, 3)::double precision as jit_generation_time,
31353121
round(sum(s.total_plan_time)::numeric, 3)::double precision as total_plan_time
31363122
from
31373123
pg_stat_statements s
@@ -3212,19 +3198,7 @@ metrics:
32123198
order by
32133199
temp_blks_written desc
32143200
limit 100
3215-
) a
3216-
union
3217-
select * from (
3218-
select
3219-
*
3220-
from
3221-
q_data
3222-
where
3223-
jit_generation_time > 0
3224-
order by
3225-
jit_generation_time DESC
3226-
limit 100
3227-
) a;
3201+
) a;
32283202
storage_name: stat_statements
32293203
subscription_stats:
32303204
description: >

0 commit comments

Comments
 (0)