View Source Zexbox.Config (Zexbox v0.8.0)

Zexbox configuration module.

All configurations have a default value, which can be overridden in the application config.

The application config is keyed in the following way:

config :zexbox, :features, [
  capture_telemetry_metric_events: true,
  capture_telemetry_log_events: false
]

Summary

Functions

Returns the configuration for capture_telemetry_log_events

Returns the configuration for capture_telemetry_metric_events

Returns the configuration value for the given key.

Functions

Link to this function

capture_telemetry_log_events?()

View Source
@spec capture_telemetry_log_events?() :: boolean()

Returns the configuration for capture_telemetry_log_events

Link to this function

capture_telemetry_metric_events?()

View Source
@spec capture_telemetry_metric_events?() :: boolean()

Returns the configuration for capture_telemetry_metric_events

@spec config_value(atom()) :: any()

Returns the configuration value for the given key.