# Pulse Configuration File # This file configures all aspects of the Pulse monitoring system # Server configuration server: # Backend API server backend: port: 3000 # Port for the backend API (default: 3000) host: "0.0.0.0" # Host to bind to (default: 0.0.0.0) # Frontend web server frontend: port: 7655 # Port for the frontend web UI (default: 7655) host: "0.0.0.0" # Host to bind to (default: 0.0.0.0) # Monitoring configuration monitoring: pollingInterval: 5000 # How often to poll for updates in milliseconds (default: 5000) concurrentPolling: true # Whether to poll instances concurrently (default: true) backupPollingCycles: 10 # Poll backups every N cycles (default: 10) metricsRetentionDays: 7 # How long to keep metrics data (default: 7) # Logging configuration logging: level: "info" # Log level: debug, info, warn, error (default: info) file: "/opt/pulse/pulse.log" # Path to log file (default: /opt/pulse/pulse.log) maxSize: 100 # Maximum size in MB before rotation (default: 100) maxBackups: 5 # Number of old log files to keep (default: 5) maxAge: 30 # Maximum age in days for log files (default: 30) compress: true # Compress rotated log files (default: true) # Security configuration security: apiToken: "" # API token for authentication (optional) allowedOrigins: # CORS allowed origins (default: ["*"]) - "*" iframeEmbedding: "SAMEORIGIN" # X-Frame-Options header: DENY, SAMEORIGIN, or URL enableAuthentication: false # Enable authentication (default: false)