Observability configuration
[observability]
[observability.log]
[observability.log]
level = "info"
The most verbose level written to standard output. A RUST_LOG environment variable takes precedence when it is set.
[observability.log.file]
[observability.log.file]
mode = "disabled"
# directory = "/var/log/andromeda"
name = "andromeda.log"
format = "json"
rotation = "daily"
compression = "gzip"
max_retained_files = 7
level = "info"
Whether structured records are written to a rotating file.
Where the log files are written. Left out, they go in an andromeda directory in the platform state directory ($XDG_STATE_HOME, or ~/.local/state), or in the data directory on a platform without one.
The name of the current log file, before the rotation suffix.
The shape of each record in the file.
How often a new file is started.
Whether rotated files are compressed.
The most rotated files kept. Past it, the oldest is deleted.
The most verbose level written to the file, independent of observability.log.level.
[observability.metrics]
[observability.metrics.prometheus]
GET /metrics on the management endpoints.[observability.metrics.prometheus]
mode = "disabled"
Whether metrics are recorded and served at GET /metrics on the management endpoints.