46 lines
2.7 KiB
Plaintext
46 lines
2.7 KiB
Plaintext
2024-08-20T12:00:00Z ERROR failed to connect to database
|
|||
|
|
2024-08-20T12:00:01Z INFO attempting reconnection strategy exponential_backoff
|
||
|
|
2024-08-20T12:00:02Z DEBUG opening new connection pool size=10
|
||
|
|
2024-08-20T12:00:03Z TRACE acquiring connection from pool
|
||
|
|
2024-08-20T12:00:04Z DEBUG connection timeout after 5000ms
|
||
|
|
2024-08-20T12:00:05Z ERROR failed to connect to database: connection timeout
|
||
|
|
2024-08-20T12:00:06Z INFO retrying with exponential backoff attempt=1 delay=100ms
|
||
|
|
2024-08-20T12:00:07Z DEBUG creating new TCP socket
|
||
|
|
2024-08-20T12:00:08Z TRACE establishing TLS handshake
|
||
|
|
2024-08-20T12:00:09Z DEBUG TLS version: TLSv1.3 cipher: TLS_AES_256_GCM_SHA384
|
||
|
|
2024-08-20T12:00:10Z INFO connection established successfully
|
||
|
|
2024-08-20T12:00:11Z DEBUG setting connection parameters max_connections=50
|
||
|
|
2024-08-20T12:00:12Z TRACE executing connection setup queries
|
||
|
|
2024-08-20T12:00:13Z DEBUG query: SELECT version() -> PostgreSQL 15.3
|
||
|
|
2024-08-20T12:00:14Z INFO database initialization complete version=15.3
|
||
|
|
2024-08-20T12:00:15Z DEBUG running schema migrations
|
||
|
|
2024-08-20T12:00:16Z TRACE loading migration 001_init_schema.sql
|
||
|
|
2024-08-20T12:00:17Z INFO applied migration 001_init_schema
|
||
|
|
2024-08-20T12:00:18Z TRACE loading migration 002_add_indices.sql
|
||
|
|
2024-08-20T12:00:19Z INFO applied migration 002_add_indices
|
||
|
|
2024-08-20T12:00:20Z DEBUG creating index on chunks(embedding_id)
|
||
|
|
2024-08-20T12:00:21Z TRACE index creation started
|
||
|
|
2024-08-20T12:00:22Z DEBUG index chunks_embedding_idx created in 1234ms
|
||
|
|
2024-08-20T12:00:23Z INFO all migrations complete
|
||
|
|
2024-08-20T12:00:24Z DEBUG starting http server on 0.0.0.0:8080
|
||
|
|
2024-08-20T12:00:25Z INFO listening on 0.0.0.0:8080
|
||
|
|
2024-08-20T12:00:26Z TRACE handler registered: GET /health
|
||
|
|
2024-08-20T12:00:27Z DEBUG handler registered: POST /memory/ingest
|
||
|
|
2024-08-20T12:00:28Z TRACE handler registered: GET /memory/query
|
||
|
|
2024-08-20T12:00:29Z INFO http server ready
|
||
|
|
2024-08-20T12:00:30Z TRACE incoming request GET /health from 127.0.0.1:54321
|
||
|
|
2024-08-20T12:00:31Z DEBUG request id=abc123
|
||
|
|
2024-08-20T12:00:32Z TRACE processing request
|
||
|
|
2024-08-20T12:00:33Z DEBUG cache hit for /health
|
||
|
|
2024-08-20T12:00:34Z INFO request completed in 1ms status=200
|
||
|
|
2024-08-20T12:00:35Z TRACE response sent to 127.0.0.1:54321
|
||
|
|
2024-08-20T12:00:36Z DEBUG connection kept-alive
|
||
|
|
2024-08-20T12:00:37Z INFO active connections: 1
|
||
|
|
2024-08-20T12:00:38Z DEBUG monitoring metrics every 60s
|
||
|
|
2024-08-20T12:00:39Z TRACE collecting metrics
|
||
|
|
2024-08-20T12:00:40Z DEBUG requests_total=1234 errors=0 latency_p99=45ms
|
||
|
|
2024-08-20T12:00:41Z INFO metrics: requests=1234 errors=0 uptime=41s
|
||
|
|
2024-08-20T12:00:42Z TRACE finalizing metrics snapshot
|
||
|
|
2024-08-20T12:00:43Z DEBUG memory usage: heap=24.5MB resident=32MB
|
||
|
|
2024-08-20T12:00:44Z INFO health check passed
|