-
Global information
- Generated on Mon Jun 15 06:06:01 2026
- Log file: /var/log/postgresql/postgresql-2026-05-13_000000.csv, ..., /var/log/postgresql/postgresql-2026-06-15_000000.csv
- Parsed 194,045 log entries in 6m
- Log start from 2026-06-13 00:00:01 to 2026-06-13 23:59:03
-
Overview
Global Stats
- 25 Number of unique normalized queries
- 24,535 Number of queries
- 1d14h31m5s Total query duration
- 2026-06-13 00:00:01 First query
- 2026-06-13 23:59:01 Last query
- 18 queries/s at 2026-06-13 16:08:01 Query peak
- 1d14h31m5s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d14h31m5s Execute total duration
- 0 Number of events
- 0 Number of unique normalized events
- 0 Max number of times the same event was reported
- 0 Number of cancellation
- 5 Total number of automatic vacuums
- 4 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 14,911 Total number of sessions
- 6 sessions at 2026-06-13 15:42:26 Session peak
- 1h7m24s Total duration of sessions
- 271ms Average duration of sessions
- 1 Average queries per session
- 9s299ms Average queries duration per session
- 0ms Average idle time per session
- 14,911 Total number of connections
- 33 connections/s at 2026-06-13 17:48:53 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 18 queries/s Query Peak
- 2026-06-13 16:08:01 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2026-06-13 17:55:36 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 18 queries/s Query Peak
- 2026-06-13 16:08:01 Date
Queries duration
Key values
- 1d14h31m5s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 13 00 1,020 0ms 0ms 0ms 0ms 0ms 0ms 01 1,021 0ms 938ms 454ms 15s953ms 15s953ms 15s953ms 02 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 03 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 04 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 05 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 06 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 07 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 08 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 09 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 10 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 11 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 12 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 13 1,020 938ms 938ms 938ms 15s953ms 15s953ms 15s953ms 14 1,030 500ms 13s882ms 4s351ms 1m49s 1m50s 3m59s 15 1,030 524ms 6s318ms 6s192ms 1m51s 1m52s 1m53s 16 1,031 503ms 6s332ms 6s240ms 1m51s 1m52s 1m53s 17 1,033 500ms 16s862ms 8s398ms 4m44s 4m46s 5m13s 18 1,025 13s892ms 16s786ms 15s777ms 4m45s 4m45s 4m59s 19 1,020 16s786ms 16s786ms 16s786ms 4m45s 4m45s 4m45s 20 1,020 16s786ms 16s786ms 16s786ms 4m45s 4m45s 4m45s 21 1,020 16s786ms 16s786ms 16s786ms 4m45s 4m45s 4m45s 22 1,020 16s786ms 16s786ms 16s786ms 4m45s 4m45s 4m45s 23 1,025 564ms 16s786ms 15s691ms 4m45s 4m45s 4m52s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 13 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 2 0 503ms 0ms 0ms 500ms 15 1 0 524ms 0ms 0ms 0ms 16 1 0 503ms 0ms 0ms 0ms 17 1 0 500ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 5 1s327ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 938ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 13 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 10 10.00 0.00% 15 0 10 10.00 0.00% 16 0 11 11.00 0.00% 17 0 13 13.00 0.00% 18 0 5 5.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Jun 13 00 543 0.15/s 01 546 0.15/s 02 543 0.15/s 03 546 0.15/s 04 543 0.15/s 05 543 0.15/s 06 543 0.15/s 07 546 0.15/s 08 543 0.15/s 09 543 0.15/s 10 543 0.15/s 11 543 0.15/s 12 557 0.15/s 13 543 0.15/s 14 885 0.25/s 15 906 0.25/s 16 908 0.25/s 17 1,008 0.28/s 18 838 0.23/s 19 546 0.15/s 20 546 0.15/s 21 554 0.15/s 22 543 0.15/s 23 552 0.15/s Day Hour Count Average Duration Average idle time Jun 13 00 543 248ms 248ms 01 546 248ms 0ms 02 543 246ms 0ms 03 546 245ms 0ms 04 543 249ms 0ms 05 543 252ms 0ms 06 543 252ms 0ms 07 546 251ms 0ms 08 543 252ms 0ms 09 543 255ms 0ms 10 543 253ms 0ms 11 543 253ms 0ms 12 557 246ms 0ms 13 543 253ms 0ms 14 885 304ms 0ms 15 906 307ms 0ms 16 908 307ms 0ms 17 1,008 336ms 0ms 18 838 321ms 0ms 19 546 252ms 0ms 20 546 252ms 0ms 21 554 246ms 0ms 22 543 250ms 0ms 23 552 269ms 0ms -
Connections
Established Connections
Key values
- 33 connections Connection Peak
- 2026-06-13 17:48:53 Date
Connections per database
Key values
- zemm_monitoring Main Database
- 14,911 connections Total
Database User Count fbi_ci_db 1 postgres 1 fbi_unibi 1 postgres 1 fbi_unire 1 postgres 1 invdb 1 postgres 1 labanimal 1 postgres 1 postgres 4 postgres 4 zemm_dev 1,443 labanimal 1,442 postgres 1 zemm_monitoring 8,790 labanimal 4,532 monitoring_admin 4,257 postgres 1 zemm_produktiv_8 3,225 labanimal 3,223 postgres 2 zemm_test 1,444 labanimal 1,443 postgres 1 Connections per user
Key values
- labanimal Main User
- 14,911 connections Total
-
Sessions
Simultaneous sessions
Key values
- 6 sessions Session Peak
- 2026-06-13 15:42:26 Date
Histogram of session times
Key values
- 13,251 0-500ms duration
Sessions per database
Key values
- zemm_monitoring Main Database
- 14,911 sessions Total
Sessions per user
Key values
- labanimal Main User
- 14,911 sessions Total
Sessions per host
Key values
- ::1 Main Host
- 14,911 sessions Total
Sessions per application
Key values
- Main Application
- 14,911 sessions Total
Application Count Total Duration Average Duration 13,413 1h6m25s 297ms _desktop__zemm_produktiv_8_localhost_5432 1 53ms 53ms _desktop_index.php_command_login_subcommand_init_zemm_dev_local 2 64ms 32ms _desktop_index.php_command_login_subcommand_init_zemm_produktiv 1,450 43s562ms 30ms _desktop_index.php_command_login_subcommand_init_zemm_test_loca 3 96ms 32ms _desktop_index.php_zemm_produktiv_8_localhost_5432 1 105ms 105ms bounces:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 72ms 72ms expire_tasks:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 955ms 955ms fatescron:zemm_produktiv_8@h2940066.stratoserver.net:5432 1 891ms 891ms pg_dump 1 11s119ms 11s119ms psql 13 66ms 5ms taskscron:zemm_produktiv_8@h2940066.stratoserver.net:5432 24 2s264ms 94ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 19,786 buffers Checkpoint Peak
- 2026-06-13 01:39:07 Date
- 270.004 seconds Highest write time
- 0.013 seconds Sync time
Checkpoints Wal files
Key values
- 6 files Wal files usage Peak
- 2026-06-13 01:39:07 Date
Checkpoints distance
Key values
- 197.77 Mo Distance Peak
- 2026-06-13 01:39:07 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 13 00 9,263 926.3s 0.1s 926.455s 01 27,542 1,045.769s 0.098s 1,045.928s 02 8,895 890.55s 0.099s 890.698s 03 8,648 864.806s 0.099s 864.963s 04 9,012 901.767s 0.097s 901.926s 05 9,684 968.475s 0.096s 968.624s 06 10,352 1,035.803s 0.109s 1,035.969s 07 8,516 852.203s 0.098s 852.355s 08 8,809 881.053s 0.103s 881.215s 09 8,768 877.338s 0.101s 877.493s 10 8,342 834.844s 0.096s 834.995s 11 15,230 940.231s 0.09s 940.375s 12 8,529 852.995s 0.098s 853.15s 13 8,287 829.056s 0.099s 829.207s 14 24,755 1,012.873s 0.093s 1,013.018s 15 9,316 932.468s 0.102s 932.623s 16 11,618 993.44s 0.095s 993.59s 17 8,804 881.146s 0.106s 881.307s 18 8,674 867.912s 0.102s 868.066s 19 8,066 806.803s 0.106s 806.962s 20 8,301 830.438s 0.106s 830.598s 21 9,044 905.072s 0.105s 905.232s 22 8,267 827.169s 0.099s 827.321s 23 8,272 827.414s 0.096s 827.564s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 13 00 0 0 2 527 0.002s 0.012s 01 0 0 8 503 0.002s 0.011s 02 0 0 1 515 0.002s 0.012s 03 0 0 2 510 0.004s 0.012s 04 0 0 2 508 0.001s 0.012s 05 0 0 2 512 0.001s 0.012s 06 0 0 2 514 0.006s 0.012s 07 0 0 2 511 0.001s 0.012s 08 0 0 2 509 0.006s 0.012s 09 0 0 2 522 0.003s 0.012s 10 0 0 2 507 0.002s 0.012s 11 0 0 2 477 0.001s 0.011s 12 0 0 2 516 0.002s 0.012s 13 0 0 2 518 0.002s 0.012s 14 0 0 5 493 0.001s 0.011s 15 0 0 2 511 0.002s 0.012s 16 0 0 2 477 0.003s 0.011s 17 0 0 2 519 0.003s 0.012s 18 0 0 2 519 0.002s 0.012s 19 0 0 1 517 0.003s 0.012s 20 0 0 2 503 0.002s 0.012s 21 0 0 2 519 0.002s 0.012s 22 0 0 2 511 0.002s 0.012s 23 0 0 1 515 0.001s 0.012s Day Hour Count Avg time (sec) Jun 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jun 13 00 2,615.17 kB 3,095.08 kB 01 11,711.64 kB 33,614.91 kB 02 2,576.00 kB 41,352.83 kB 03 2,478.25 kB 13,522.67 kB 04 2,573.58 kB 5,647.17 kB 05 2,683.83 kB 3,543.42 kB 06 2,879.75 kB 4,945.00 kB 07 2,474.58 kB 3,632.92 kB 08 2,519.50 kB 3,033.83 kB 09 2,519.75 kB 2,970.75 kB 10 2,469.83 kB 2,839.58 kB 11 4,315.00 kB 7,811.45 kB 12 2,467.33 kB 11,453.00 kB 13 2,417.67 kB 4,954.42 kB 14 7,549.64 kB 26,148.09 kB 15 2,609.08 kB 19,893.75 kB 16 2,830.55 kB 7,866.91 kB 17 2,485.50 kB 4,150.25 kB 18 2,511.25 kB 3,081.58 kB 19 2,370.17 kB 2,742.50 kB 20 2,371.33 kB 3,001.25 kB 21 2,578.83 kB 3,346.42 kB 22 2,408.58 kB 3,063.67 kB 23 2,388.17 kB 2,777.17 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 2.44 sec Highest CPU-cost vacuum
Table observability.metrics_timeseries
Database zemm_monitoring - 2026-06-13 11:37:07 Date
- 0 sec Highest CPU-cost analyze
Table
Database zemm_monitoring - Date
Average Autovacuum Duration
Key values
- 2.44 sec Highest CPU-cost vacuum
Table observability.metrics_timeseries
Database zemm_monitoring - 2026-06-13 11:37:07 Date
Analyzes per table
Key values
- observability.metrics_timeseries (2) Main table analyzed (database zemm_monitoring)
- 4 analyzes Total
Vacuums per table
Key values
- pg_toast.pg_toast_67431 (3) Main table vacuumed on database zemm_monitoring
- 5 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples zemm_monitoring.pg_toast.pg_toast_67431 3 1 0 0 0 0 0 13,391 5,343 7,166,556 1,425 8,550 zemm_produktiv_8.public.tasks 1 1 0 0 0 0 0 49,119 38 3,583,326 0 0 zemm_monitoring.observability.metrics_timeseries 1 1 0 0 0 0 0 19,104 8,095 20,927,762 2,792 67,014 Total 5 3 0 0 0 0 0 81,614 13,476 31,677,644 4,217 75,564 Vacuum throughput per table
Key values
- observability.metrics_timeseries (2.44) Max CPU elapsed for vacuum on database zemm_monitoring
- observability.metrics_timeseries (3.709 ms) Max I/O read time for vacuum on database zemm_monitoring
- observability.metrics_timeseries (1.192 ms) Max I/O write time for vacuum on database zemm_monitoring
Tuples removed per table
Key values
- public.tasks (55062) Main table with removed tuples on database zemm_produktiv_8
- 93226 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain zemm_produktiv_8.public.tasks 1 1 55,062 58,164 0 0 17,179 zemm_monitoring.observability.metrics_timeseries 1 1 29,542 386,492 0 0 8,322 zemm_monitoring.pg_toast.pg_toast_67431 3 1 8,622 1,684,816 0 0 398,115 Total 5 3 93,226 2,129,472 0 0 423,616 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 13 00 0 0 01 1 1 02 0 0 03 0 0 04 0 0 05 1 0 06 0 1 07 0 0 08 0 1 09 0 0 10 0 0 11 1 0 12 0 0 13 0 0 14 0 0 15 0 0 16 1 0 17 0 0 18 0 0 19 0 0 20 1 0 21 0 1 22 0 0 23 0 0 - 2.44 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 5 Total read queries
- 24,530 Total write queries
Queries by database
Key values
- zemm_monitoring Main database
- 24,529 Requests
- 1d14h30m58s (zemm_monitoring)
- Main time consuming database
Queries by user
Key values
- monitoring_admin Main user
- 786,389 Requests
User Request type Count Duration labanimal Total 2,555 57m12s copy to 8 22s808ms cte 418 9m1s others 1 596ms select 2,096 47m12s update 32 34s852ms monitoring_admin Total 786,389 43d1h12m41s cte 2,238 5h3m36s ddl 783,271 42d19h56m31s delete 1 603ms select 871 12m26s postgres Total 169 3m47s copy to 169 3m47s Duration by user
Key values
- 43d1h12m41s (monitoring_admin) Main time consuming user
User Request type Count Duration labanimal Total 2,555 57m12s copy to 8 22s808ms cte 418 9m1s others 1 596ms select 2,096 47m12s update 32 34s852ms monitoring_admin Total 786,389 43d1h12m41s cte 2,238 5h3m36s ddl 783,271 42d19h56m31s delete 1 603ms select 871 12m26s postgres Total 169 3m47s copy to 169 3m47s Queries by host
Key values
- unknown Main host
- 788,912 Requests
- 43d2h9m18s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,529 Requests
- 1d14h30m58s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-13 16:24:03 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 36 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 16s862ms WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 17:45:17+02' AND collected_at <= '2026-06-12 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';[ Date: 2026-06-13 17:45:33 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
2 16s862ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
3 16s862ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
4 16s862ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
5 16s862ms CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
6 16s862ms CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
7 16s862ms CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
8 16s862ms CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
9 16s862ms CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
10 16s862ms CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
11 16s862ms CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
12 16s862ms CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
13 16s862ms CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
14 16s862ms CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
15 16s862ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
16 16s862ms ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
17 16s862ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
18 16s862ms CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);[ Date: 2026-06-13 17:46:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
19 16s862ms CREATE SCHEMA IF NOT EXISTS observability;[ Date: 2026-06-13 17:47:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
20 16s862ms CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );[ Date: 2026-06-13 17:47:01 - Database: zemm_monitoring - User: monitoring_admin - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h15m34s 1,440 938ms 16s862ms 5s648ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
2 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
3 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
4 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
5 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
6 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
7 2h15m34s 1,440 938ms 16s862ms 5s648ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
8 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
9 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
10 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
11 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
12 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
13 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
14 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
15 2h15m34s 1,440 938ms 16s862ms 5s648ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
16 2h15m34s 1,440 938ms 16s862ms 5s648ms create schema if not exists observability;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
17 2h15m34s 1,440 938ms 16s862ms 5s648ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
18 6m17s 44 6s40ms 16s862ms 8s580ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 13 15 8 1m3s 7s929ms 16 9 55s981ms 6s220ms 17 10 1m2s 6s229ms 18 12 1m57s 9s809ms 19 5 1m18s 15s623ms [ User: monitoring_admin - Total duration: 6m17s - Times executed: 44 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 17:45:17+02' AND collected_at <= '2026-06-12 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 17:45:33 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 18:26:14+02' AND collected_at <= '2026-06-12 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:26:14+02' AND '2026-06-13 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:26:14+02' AND '2026-06-13 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 18:26:31 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 18:05:54+02' AND collected_at <= '2026-06-12 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:05:54+02' AND '2026-06-13 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:05:54+02' AND '2026-06-13 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 18:06:11 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
19 2s534ms 5 500ms 524ms 506ms select distinct on (coalesce(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at from observability.uptime_checks order by coalesce(check_key, endpoint), checked_at desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 13 15 2 1s6ms 503ms 16 1 524ms 524ms 17 1 503ms 503ms 18 1 500ms 500ms [ User: monitoring_admin - Total duration: 2s534ms - Times executed: 5 ]
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 15:57:55 Duration: 524ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 14:31:19 Duration: 505ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 16:38:34 Duration: 503ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
20 2s52ms 1 2s52ms 2s52ms 2s52ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 13 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-06-13 23:55:08 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,440 2h15m34s 938ms 16s862ms 5s648ms alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
2 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
3 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
4 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
5 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
6 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
7 1,440 2h15m34s 938ms 16s862ms 5s648ms alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
8 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
9 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
10 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
11 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
12 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
13 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
14 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
15 1,440 2h15m34s 938ms 16s862ms 5s648ms create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
16 1,440 2h15m34s 938ms 16s862ms 5s648ms create schema if not exists observability;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
17 1,440 2h15m34s 938ms 16s862ms 5s648ms create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
18 44 6m17s 6s40ms 16s862ms 8s580ms with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 13 15 8 1m3s 7s929ms 16 9 55s981ms 6s220ms 17 10 1m2s 6s229ms 18 12 1m57s 9s809ms 19 5 1m18s 15s623ms [ User: monitoring_admin - Total duration: 6m17s - Times executed: 44 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 17:45:17+02' AND collected_at <= '2026-06-12 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 17:45:33 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 18:26:14+02' AND collected_at <= '2026-06-12 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:26:14+02' AND '2026-06-13 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:26:14+02' AND '2026-06-13 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 18:26:31 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 18:05:54+02' AND collected_at <= '2026-06-12 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:05:54+02' AND '2026-06-13 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:05:54+02' AND '2026-06-13 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 18:06:11 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
19 5 2s534ms 500ms 524ms 506ms select distinct on (coalesce(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at from observability.uptime_checks order by coalesce(check_key, endpoint), checked_at desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 13 15 2 1s6ms 503ms 16 1 524ms 524ms 17 1 503ms 503ms 18 1 500ms 500ms [ User: monitoring_admin - Total duration: 2s534ms - Times executed: 5 ]
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 15:57:55 Duration: 524ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 14:31:19 Duration: 505ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 16:38:34 Duration: 503ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
20 1 2s52ms 2s52ms 2s52ms 2s52ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 13 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-06-13 23:55:08 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 6s40ms 16s862ms 8s580ms 44 6m17s with start_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at >= ? and collected_at <= ? order by tenant_key, fingerprint, collected_at desc ), fallback_start as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at asc ), end_snap as ( select distinct on (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at from observability.db_top_queries where tenant_key in (...) and collected_at between ? and ? order by tenant_key, fingerprint, collected_at desc ), deltas as ( select e.tenant_key, e.fingerprint, e.query, e.collected_at as last_seen, greatest (coalesce(e.total_time_ms, ?) - coalesce(s.total_time_ms, fs.total_time_ms, ?), ?) as total_time_ms, greatest (coalesce(e.calls, ?) - coalesce(s.calls, fs.calls, ?), ?) as calls, greatest (coalesce(e.rows_returned, ?) - coalesce(s.rows_returned, fs.rows_returned, ?), ?) as rows_returned from end_snap e left join start_snap s on s.tenant_key = e.tenant_key and s.fingerprint = e.fingerprint left join fallback_start fs on fs.tenant_key = e.tenant_key and fs.fingerprint = e.fingerprint and s.tenant_key is null ) select fingerprint, max(query) as query, max(last_seen) as last_seen, sum(total_time_ms) as total_time_ms, sum(calls) as calls, sum(rows_returned) as rows_returned, case when sum(calls) > ? then sum(total_time_ms) / sum(calls) else ? end as mean_time_ms, array_agg(distinct tenant_key order by tenant_key) as tenant_keys from deltas where total_time_ms > ? or calls > ? group by fingerprint order by total_time_ms desc, calls desc limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 13 15 8 1m3s 7s929ms 16 9 55s981ms 6s220ms 17 10 1m2s 6s229ms 18 12 1m57s 9s809ms 19 5 1m18s 15s623ms [ User: monitoring_admin - Total duration: 6m17s - Times executed: 44 ]
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 17:45:17+02' AND collected_at <= '2026-06-12 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 17:45:17+02' AND '2026-06-13 17:45:17+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 17:45:33 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 18:26:14+02' AND collected_at <= '2026-06-12 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:26:14+02' AND '2026-06-13 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:26:14+02' AND '2026-06-13 18:26:14+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 18:26:31 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
WITH start_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at >= '2026-06-10 18:05:54+02' AND collected_at <= '2026-06-12 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), fallback_start AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:05:54+02' AND '2026-06-13 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at ASC ), end_snap AS ( SELECT DISTINCT ON (tenant_key, fingerprint) tenant_key, fingerprint, query, total_time_ms, calls, rows_returned, collected_at FROM observability.db_top_queries WHERE tenant_key IN ('prod', 'live') AND collected_at BETWEEN '2026-06-12 18:05:54+02' AND '2026-06-13 18:05:54+02' ORDER BY tenant_key, fingerprint, collected_at DESC ), deltas AS ( SELECT e.tenant_key, e.fingerprint, e.query, e.collected_at AS last_seen, GREATEST (COALESCE(e.total_time_ms, 0) - COALESCE(s.total_time_ms, fs.total_time_ms, 0), 0) AS total_time_ms, GREATEST (COALESCE(e.calls, 0) - COALESCE(s.calls, fs.calls, 0), 0) AS calls, GREATEST (COALESCE(e.rows_returned, 0) - COALESCE(s.rows_returned, fs.rows_returned, 0), 0) AS rows_returned FROM end_snap e LEFT JOIN start_snap s ON s.tenant_key = e.tenant_key AND s.fingerprint = e.fingerprint LEFT JOIN fallback_start fs ON fs.tenant_key = e.tenant_key AND fs.fingerprint = e.fingerprint AND s.tenant_key IS NULL ) SELECT fingerprint, MAX(query) AS query, MAX(last_seen) AS last_seen, SUM(total_time_ms) AS total_time_ms, SUM(calls) AS calls, SUM(rows_returned) AS rows_returned, CASE WHEN SUM(calls) > 0 THEN SUM(total_time_ms) / SUM(calls) ELSE 0 END AS mean_time_ms, array_agg(DISTINCT tenant_key ORDER BY tenant_key) AS tenant_keys FROM deltas WHERE total_time_ms > 0 OR calls > 0 GROUP BY fingerprint ORDER BY total_time_ms DESC, calls DESC LIMIT '20' OFFSET '0';
Date: 2026-06-13 18:06:11 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
2 938ms 16s862ms 5s648ms 1,440 2h15m34s alter table observability.uptime_checks add column if not exists label text;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS label text;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
3 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.nginx_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.nginx_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
4 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_metrics_timeseries_bucket on observability.metrics_timeseries (bucket_start);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_bucket ON observability.metrics_timeseries (bucket_start);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
5 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.phpfpm_counters ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.phpfpm_counters ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
6 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_app_events_type on observability.app_events (event_type);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_type ON observability.app_events (event_type);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
7 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_metrics_timeseries_metric on observability.metrics_timeseries (metric_name);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_metrics_timeseries_metric ON observability.metrics_timeseries (metric_name);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
8 938ms 16s862ms 5s648ms 1,440 2h15m34s alter table observability.uptime_checks add column if not exists payload jsonb;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
ALTER TABLE observability.uptime_checks ADD COLUMN IF NOT EXISTS payload jsonb;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
9 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.system_metrics ( id bigserial primary key, payload jsonb not null, collected_at timestamptz not null default now() );Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.system_metrics ( id bigserial PRIMARY KEY, payload jsonb NOT NULL, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
10 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.db_top_queries ( id bigserial primary key, tenant_key text not null, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz not null default now() );Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.db_top_queries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, fingerprint text, query text, mean_time_ms double precision, total_time_ms double precision, calls bigint, rows_returned bigint, collected_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
11 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.uptime_checks ( id bigserial primary key, endpoint text not null, status text not null, latency_ms double precision, checked_at timestamptz not null default now() );Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.uptime_checks ( id bigserial PRIMARY KEY, endpoint text NOT NULL, status text NOT NULL, latency_ms double precision, checked_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
12 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_uptime_checks_endpoint on observability.uptime_checks (endpoint, checked_at desc);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_endpoint ON observability.uptime_checks (endpoint, checked_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
13 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.app_events ( id bigserial primary key, tenant_key text not null, event_type text not null, severity text not null, message text not null, payload jsonb, occurred_at timestamptz not null default now(), created_at timestamptz not null default now() );Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.app_events ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, event_type text NOT NULL, severity text NOT NULL, message text NOT NULL, payload jsonb, occurred_at timestamptz NOT NULL DEFAULT NOW(), created_at timestamptz NOT NULL DEFAULT NOW() );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
14 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_db_top_queries_tenant on observability.db_top_queries (tenant_key, collected_at desc);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_db_top_queries_tenant ON observability.db_top_queries (tenant_key, collected_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
15 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_app_events_tenant on observability.app_events (tenant_key, occurred_at desc);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_app_events_tenant ON observability.app_events (tenant_key, occurred_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
16 938ms 16s862ms 5s648ms 1,440 2h15m34s create table if not exists observability.metrics_timeseries ( id bigserial primary key, tenant_key text not null, metric_name text not null, bucket_start timestamptz not null, bucket_width_seconds integer not null default ?, sum_value double precision not null default ?, count_value bigint not null default ?, histogram jsonb, created_at timestamptz not null default now(), updated_at timestamptz not null default now(), unique (tenant_key, metric_name, bucket_start, bucket_width_seconds) );Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE TABLE IF NOT EXISTS observability.metrics_timeseries ( id bigserial PRIMARY KEY, tenant_key text NOT NULL, metric_name text NOT NULL, bucket_start timestamptz NOT NULL, bucket_width_seconds integer NOT NULL DEFAULT 60, sum_value double precision NOT NULL DEFAULT 0, count_value bigint NOT NULL DEFAULT 0, histogram jsonb, created_at timestamptz NOT NULL DEFAULT NOW(), updated_at timestamptz NOT NULL DEFAULT NOW(), UNIQUE (tenant_key, metric_name, bucket_start, bucket_width_seconds) );
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
17 938ms 16s862ms 5s648ms 1,440 2h15m34s create schema if not exists observability;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE SCHEMA IF NOT EXISTS observability;
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
18 938ms 16s862ms 5s648ms 1,440 2h15m34s create index if not exists idx_uptime_checks_key on observability.uptime_checks (check_key, checked_at desc);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 13 01 60 0ms 0ms 02 60 27s215ms 453ms 03 60 56s307ms 938ms 04 60 56s307ms 938ms 05 60 56s307ms 938ms 06 60 56s307ms 938ms 07 60 56s307ms 938ms 08 60 56s307ms 938ms 09 60 56s307ms 938ms 10 60 56s307ms 938ms 11 60 56s307ms 938ms 12 60 56s307ms 938ms 13 60 56s307ms 938ms 14 60 56s307ms 938ms 15 60 4m19s 4s331ms 16 60 6m11s 6s197ms 17 60 6m14s 6s245ms 18 60 8m23s 8s389ms 19 60 15m46s 15s778ms 20 60 16m47s 16s786ms 21 60 16m47s 16s786ms 22 60 16m47s 16s786ms 23 60 16m47s 16s786ms 00 60 15m45s 15s762ms [ User: monitoring_admin - Total duration: 2h15m34s - Times executed: 1349 ]
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 17:49:01 Duration: 16s862ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 23:55:01 Duration: 16s786ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
CREATE INDEX IF NOT EXISTS idx_uptime_checks_key ON observability.uptime_checks (check_key, checked_at DESC);
Date: 2026-06-13 18:09:01 Duration: 16s771ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
19 2s52ms 2s52ms 2s52ms 1 2s52ms copy public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 13 00 1 2s52ms 2s52ms [ User: postgres - Total duration: 2s52ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 2s52ms - Times executed: 1 ]
-
COPY public.diary (id, "animalID", date, "entrybyID", "cageID", weight, temperature, "fDeprivation", "wDeprivation", "sDeprivation", "feedingClass", health, comments, "breedingInfo", deleted, "inOutDate", "inOutFlag", text, sdesc, treatment, tailcut_id, tailcut_result, file_name, file_content, file_type, upload_name, old_gene_type, old_gene_info, old_gene2_type, old_gene2_info, old_gene3_info, old_gene3_type, old_gene4_info, old_gene4_type, old_gene5_info, old_gene5_type) TO stdout;
Date: 2026-06-13 23:55:08 Duration: 2s52ms Database: zemm_produktiv_8 User: postgres Remote: [local] Application: pg_dump Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
20 500ms 524ms 506ms 5 2s534ms select distinct on (coalesce(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at from observability.uptime_checks order by coalesce(check_key, endpoint), checked_at desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 13 15 2 1s6ms 503ms 16 1 524ms 524ms 17 1 503ms 503ms 18 1 500ms 500ms [ User: monitoring_admin - Total duration: 2s534ms - Times executed: 5 ]
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 15:57:55 Duration: 524ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 14:31:19 Duration: 505ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
-
SELECT DISTINCT ON (COALESCE(check_key, endpoint) ) check_key, label, endpoint, status, latency_ms, payload, checked_at FROM observability.uptime_checks ORDER BY COALESCE(check_key, endpoint), checked_at DESC;
Date: 2026-06-13 16:38:34 Duration: 503ms Database: zemm_monitoring User: monitoring_admin Bind query: yes Log file: /var/log/postgresql/postgresql-2026-06-13_000000.csv
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 84,755 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Events per 5 minutes
NO DATASET
Most Frequent Errors/Events
Key values
- 0 Max number of times the same event was reported
- 0 Total events found
Rank Times reported Error NO DATASET