Logger

Record and persist function logs

Logger is deployed as DaemonSet to help to forward function logs to a centralized database service for log persistence. Currently, only InfluxDB is supported to store logs.

Fig.1 Logger

Fig.1 Logger

  1. Containers in the function pod write logs to docker log files.
  2. Logger watches pod creation/update events
  3. Create symlinks to the container logs if the pod runs on the same node. (Symlinks will be removed if the pods no longer exist.)
  4. Logger (Fluentbit) reads logs from symlinks.
  5. Logs are piped to InfluxDB to persist.
Last modified December 16, 2021: Fixed Link/Document changes (#121) (8795548)