Logger

Record and persist function logs

Brief Intro

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.

Diagram

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 October 26, 2019: Add diagram to component pages (1bcdb1f)