adk_trace_runtime (erlang_adk v0.10.0)

View Source

Application-level wiring for the optional local trace store.

Enabling the store also installs one bounded observability-bus exporter and supplies metadata-only asynchronous observability options to standard Runner construction. Workflow facade calls receive a store-minted lifecycle capability. All of those paths are derived from the same strict application configuration so merely starting a store can never create the misleading appearance that traces are being retained.

Summary

Functions

bus_enabled(Explicit)

-spec bus_enabled(boolean()) -> {ok, boolean()} | {error, term()}.

config()

-spec config() -> {ok, disabled | map()} | {error, term()}.

configure_bus_options(Options)

-spec configure_bus_options(map()) -> {ok, map()} | {error, term()}.

runner_options()

-spec runner_options() -> {ok, map()} | {error, term()}.

workflow_options(Options)

-spec workflow_options(map()) -> {ok, map()} | {error, term()}.