TimelessLogsDashboard.HistoricalSource behaviour (timeless_logs_dashboard v0.7.13)

Copy Markdown View Source

Configurable owner boundary for dashboard reads and live-tail subscription.

The local source preserves the embedded-library behavior. The data-plane source delegates historical reads to one configured Rust HTTP client and rejects live tail explicitly; it never falls back to TimelessLogs.

Summary

Callbacks

query(keyword, keyword)

@callback query(keyword(), keyword()) :: {:ok, map()} | {:error, term()}

stats(keyword)

@callback stats(keyword()) :: {:ok, map()} | {:error, term()}

subscribe(keyword)

@callback subscribe(keyword()) :: :ok | {:error, term()}

unsubscribe(keyword)

@callback unsubscribe(keyword()) :: :ok | {:error, term()}

Functions

query(filters)

stats()

subscribe()

unsubscribe()