Monitoring your Formbricks installation for optimal performance.
debug
: Detailed information for debugging purposes.info
: General information about the system’s operation.warn
: Potential issues that may require attention.error
: Errors that occur during the operation of the system.fatal
: Critical errors that cause the system to crash.level
: The log level (e.g., info, error).time
: Timestamp of the log entry in milliseconds since epoch.pid
: Process ID of the application.hostname
: Hostname of the server where the log was generated.requestId
: Unique identifier for the request (if applicable).userId
: Unique identifier for the user (if applicable).msg
: The log message.stack
: Stack trace (if applicable).data
: Additional data related to the log entry.LOG_LEVEL
environment variable. Valid values: debug
, info
, warn
, error
, fatal
.
The default log level in production environments is warn
, while in development environments it is debug
.
PROMETHEUS_ENABLED
environment variable must be set to 1
to enable metrics collection. The PROMETHEUS_EXPORTER_PORT
variable is optional and defaults to 9464 if not specified.
The exporter listens on all network interfaces (0.0.0.0) and exposes metrics at the /metrics
endpoint.