Skip to content

Pending Environment Variable Implementations #10

@fnLog0

Description

@fnLog0

This issue tracks all pending environment variable features that are defined in env.example but not yet implemented in the DBX codebase.

Tasks

Logging

  • LOG_LEVEL
    • Status: Not implemented in Rust backend.
    • Description: Should control the verbosity of application logs (e.g., DEBUG, INFO, WARN, ERROR).
    • Task: Read LOG_LEVEL from the environment and configure the logger accordingly.
  • LOG_FORMAT
    • Status: Not implemented.
    • Description: Should allow switching between text and JSON log formats.
    • Task: Read LOG_FORMAT from the environment and configure the logger output format.

Security

  • DBX_API_KEY
    • Status: Not implemented.
    • Description: Should be used to secure API endpoints.
    • Task: Implement API key authentication middleware.
  • DBX_CORS_ORIGINS
    • Status: Not implemented.
    • Description: Should control allowed CORS origins.
    • Task: Read from environment and configure CORS middleware.
  • DBX_RATE_LIMIT_REQUESTS & DBX_RATE_LIMIT_WINDOW
    • Status: Not implemented.
    • Description: Should control rate limiting for API requests.
    • Task: Implement rate limiting using these environment variables.

WebSocket

  • DBX_WS_ENABLED
    • Status: Not implemented.
    • Description: Should enable or disable WebSocket support.
    • Task: Read from environment and conditionally enable WebSocket routes.
  • DBX_WS_PATH
    • Status: Not implemented.
    • Description: Should set the WebSocket endpoint path.
    • Task: Read from environment and configure the WebSocket route path.

Monitoring

  • DBX_METRICS_ENABLED
    • Status: Not implemented.
    • Description: Should enable Prometheus metrics endpoint.
    • Task: Read from environment and enable/disable metrics.
  • DBX_HEALTH_CHECK_INTERVAL
    • Status: Not implemented.
    • Description: Should control health check interval.
    • Task: Use this value in health check logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions