Logs
Patchsets
Range Diff ↕ rd-77
1: 77aaa29 ! 1: 8d56535 reactor(metric-drain): use caddy json format
-: ------- > 2: a336041 wip
-: ------- > 3: 7ae45b3 chore: wrap
-: ------- > 4: bfa5c4f done
Range Diff ↕ rd-78
1: 8d56535 < -: ------- reactor(metric-drain): use caddy json format
4: bfa5c4f ! 1: c7eeb12 reactor(metric-drain): use caddy access logs
2: a336041 < -: ------- wip
3: 7ae45b3 < -: ------- chore: wrap
Range Diff ↕ rd-79
1: c7eeb12 ! 1: 4e0839a reactor(metric-drain): use caddy access logs
Range-diff rd-79
- title
- reactor(metric-drain): use caddy access logs
- description
-
Patch changed
- old #1
c7eeb12
- new #1
4e0839a
1: c7eeb12 ! 1: 4e0839a reactor(metric-drain): use caddy access logs
caddy.json
+{ + "level": "info", + "ts": 1731644477.313701, + "logger": "http.log.access", + "msg": "handled request", + "request": { + "remote_ip": "127.0.0.1", + "remote_port": "40400", + "client_ip": "127.0.0.1", + "proto": "HTTP/2.0", + "method": "GET", + "host": "pgs.sh", + "uri": "/", + "headers": { "User-Agent": ["Blackbox Exporter/0.24.0"] }, + "tls": { + "resumed": false, + "version": 772, + "cipher_suite": 4865, + "proto": "h2", + "server_name": "pgs.sh" + } + }, + "bytes_read": 0, + "user_id": "", + "duration": 0.001207084, + "size": 3718, + "status": 200, + "resp_headers": { + "Referrer-Policy": ["no-referrer-when-downgrade"], + "Strict-Transport-Security": ["max-age=31536000;"], + "X-Content-Type-Options": ["nosniff"], + "X-Frame-Options": ["DENY"], + "Server": ["Caddy"], + "Alt-Svc": ["h3=\":443\"; ma=2592000"], + "Date": ["Fri, 15 Nov 2024 04:21:17 GMT"], + "Content-Type": ["text/html; charset=utf-8"], + "X-Xss-Protection": ["1; mode=block"], + "Permissions-Policy": ["interest-cohort=()"] + } +}