Raxol.Core.Metrics.Config (Raxol v2.0.1)
View SourceConfiguration management for the Raxol metrics system.
This module handles:
- Environment-based configuration
- Runtime configuration updates
- Configuration validation
- Default settings
Summary
Functions
Returns a specification to start this module under a supervisor.
Returns the default configuration.
Gets the current environment.
Gets the current configuration value for the given key.
Gets all current configuration values.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Resets the configuration to default values.
Sets a specific configuration value.
Sets the current environment.
Updates the configuration with the given key-value pairs.
Validates the given configuration. Returns :ok if valid, {:error, reason} if invalid.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Returns the default configuration.
Gets the current environment.
Gets the current configuration value for the given key.
Gets all current configuration values.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Resets the configuration to default values.
Sets a specific configuration value.
Sets the current environment.
Updates the configuration with the given key-value pairs.
Validates the given configuration. Returns :ok if valid, {:error, reason} if invalid.