API Reference AshDyan v#0.5.0

Copy Markdown View Source

Modules

AshDyan — runtime-driven dynamic analysis for any Ash resource.

Behaviour for a single analysis capability (frequency, aggregate, time_bucket, percentile, histogram, ...).

Maps an analysis :type atom to its AshDyan.Analysis implementation.

Turn an AshDyan.Result into chart-library-ready shapes.

Behaviour describing what analysis capabilities a given Ash data layer supports.

Capability set for AshClickhouse.DataLayer.

Default capability set for unknown data layers.

Capability set for the AshPostgres data layer.

Capability set for AshScylla.DataLayer.

Capability set for the in-memory Ash.DataLayer.Simple (ETS) data layer.

Capability set for AshSqlite.DataLayer.

The AshDyan Spark DSL extension for domains.

Introspection helpers for the domain-level dyan registry.

Struct describing a single analyzable_field declared in the dyan DSL section.

Struct describing a single analyzable_resource declared in the dyan DSL section of a Domain.

Validates the domain-level dyan registry after compilation.

Compile-time transformer that persists a normalized view of the dyan configuration onto the resource for fast runtime access.

Validates the dyan DSL configuration after compilation.

Translates a validated AshDyan.Request into an Ash.Query, runs it through the resource's normal read action (so Ash policies apply), and aggregates the result in memory into a chart-ready shape.

Aggregates raw Ash records (returned by the read action) in memory into the stable labels/series output shape.

Behaviour for pipeline hooks.

Helpers for time-bucket analysis.

Error type raised/returned by AshDyan.

Behaviour for AshDyan extensions.

Loads and merges configurations from all registered AshDyan extensions.

Introspection helpers for the dyan DSL configuration of a resource.

The runtime request spec for a dynamic analysis.

The chart-ready output shape returned by AshDyan.run/1.