Jido.Observe.Config
(Jido v2.0.0)
View Source
Resolves observability configuration with per-instance support.
Resolution order (highest priority first):
Jido.Debugruntime override (persistent_term, per-instance)- Per-instance app config (
config :my_app, MyApp.Jido, telemetry: [...]) - Global app config (
config :jido, :telemetry/config :jido, :observability) - Hardcoded default
When instance is nil, steps 1-2 are skipped.
Summary
Functions
Returns true if debug-level logging is enabled.
Returns the debug events mode for the given instance.
Returns true if debug events are enabled.
Returns the maximum number of debug events to store.
Returns true if the signal type is considered interesting.
Returns the list of signal types considered interesting.
Returns true if the given log level is enabled.
Returns the observability log level for the given instance.
Returns true if sensitive data should be redacted.
Returns the slow directive threshold in milliseconds.
Returns the slow signal threshold in milliseconds.
Returns the argument logging mode for the given instance.
Returns the telemetry log level for the given instance.
Returns true if trace-level logging is enabled.
Returns the tracer module for the given instance.
Types
@type instance() :: atom() | nil
Functions
Returns true if debug-level logging is enabled.
@spec debug_events(instance()) :: :off | :minimal | :all
Returns the debug events mode for the given instance.
Returns true if debug events are enabled.
@spec debug_max_events(instance()) :: non_neg_integer()
Returns the maximum number of debug events to store.
Returns true if the signal type is considered interesting.
Returns the list of signal types considered interesting.
Returns true if the given log level is enabled.
@spec observe_log_level(instance()) :: Logger.level()
Returns the observability log level for the given instance.
Returns true if sensitive data should be redacted.
@spec slow_directive_threshold_ms(instance()) :: non_neg_integer()
Returns the slow directive threshold in milliseconds.
@spec slow_signal_threshold_ms(instance()) :: non_neg_integer()
Returns the slow signal threshold in milliseconds.
@spec telemetry_log_args(instance()) :: :keys_only | :full | :none
Returns the argument logging mode for the given instance.
@spec telemetry_log_level(instance()) :: :trace | :debug | :info | :warning | :error
Returns the telemetry log level for the given instance.
Returns true if trace-level logging is enabled.
Returns the tracer module for the given instance.