View Source Plausible.Stats.Clickhouse (Plausible v0.0.1)

Summary

Functions

Link to this function

empty_24h_visitors_hourly_intervals(sites, now \\ NaiveDateTime.utc_now())

View Source
@spec empty_24h_visitors_hourly_intervals([Plausible.Site.t()], NaiveDateTime.t()) ::
  map()
Link to this function

imported_pageview_count(site)

View Source
Link to this function

imported_pageview_counts(site)

View Source
@spec imported_pageview_counts(Plausible.Site.t()) :: %{
  required(non_neg_integer()) => non_neg_integer()
}
Link to this function

last_24h_visitors_hourly_intervals(sites, now \\ NaiveDateTime.utc_now())

View Source
@spec last_24h_visitors_hourly_intervals([Plausible.Site.t()], NaiveDateTime.t()) ::
  map()
Link to this function

pageview_start_date_local(site)

View Source
@spec pageview_start_date_local(Plausible.Site.t()) :: Date.t() | nil
Link to this function

top_sources_for_spike(site, query, limit, page)

View Source
Link to this function

usage_breakdown(site_ids, date_range)

View Source