ScoutApm.Config.Coercions (scout_apm v2.0.0)

Copy Markdown

Takes "raw" values from various config sources, and turns them into the requested format.

Summary

Functions

Returns {:ok, true}, {:ok, false}, or :error Attempts to "parse" a string

Functions

boolean(b)

Returns {:ok, true}, {:ok, false}, or :error Attempts to "parse" a string

json(json)

log_level(level)