There are a few things to note about what Fn logs.
We recommend using logspout to forward your logs to a log aggregator of your choice.
All logs are emitted in logfmt format for easy parsing.
Every function call/request is assigned a call_id
. If you search your logs, you can track all the activity
for each function call and find errors on a call by call basis. For example, these are the log lines for an aynschronous
function call:
Note the easily searchable call_id=x
format.
call_id=477949e2-922c-5da9-8633-0b2887b79f6e
Metrics are emitted via the logs.
See Metrics doc for more information.