EndPointBlank.Config (end_point_blank_elixir v0.3.1)

Copy Markdown

Singleton configuration store for the EndPointBlank library.

Backed by an Agent so all processes share the same config. Update via EndPointBlank.configure/1.

Several settings also fall back to ENDPOINTBLANK_* environment variables when not explicitly configured, in order to support Rails-free (and Elixir-config-free) deployments. Precedence for each such setting is: explicit value set via EndPointBlank.configure/1 > System.get_env/1 > built-in default. The environment variable is read at getter time (not cached), so it can be changed at runtime.

Summary

Functions

Returns a specification to start this module under a supervisor.

Max number of concurrent writes DelayedWriter performs per flush tick. Falls back to the struct default (4) if unset or invalid.

Functions

access_token_url()

authorize_url()

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

endpoint_update_url()

errors_url()

get()

logs_url()

mask_hook()

masking_rules()

requests_url()

responses_url()

start_link(opts)

update(opts)

worker_count()

Max number of concurrent writes DelayedWriter performs per flush tick. Falls back to the struct default (4) if unset or invalid.