PgFlowDashboard.Queries.Metrics (PgFlow v0.1.0)

Copy Markdown View Source

Database queries for dashboard metrics with caching.

Summary

Functions

Returns overview dashboard metrics.

Functions

get_overview_metrics(repo, opts \\ [])

@spec get_overview_metrics(
  module(),
  keyword()
) :: map()

Returns overview dashboard metrics.

Uses ETS cache with configurable TTL to reduce database load.