Raxol.Core.Metrics.Config (Raxol v0.5.0)
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.
Resets the configuration to default values.
Sets the current environment.
Starts the configuration server.
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.
Resets the configuration to default values.
Sets the current environment.
Starts the configuration server.
Updates the configuration with the given key-value pairs.
Validates the given configuration. Returns :ok if valid, {:error, reason} if invalid.