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

Sampling related functions

Summary

Functions

@spec add_query_hint(Ecto.Query.t()) :: Ecto.Query.t()
Link to this function

add_query_hint(db_query, query)

View Source
@spec add_query_hint(Ecto.Query.t(), Plausible.Stats.Query.t()) :: Ecto.Query.t()
@spec add_query_hint(Ecto.Query.t(), pos_integer()) :: Ecto.Query.t()
Link to this function

put_threshold(query, params)

View Source
@spec put_threshold(Plausible.Stats.Query.t(), map()) :: Plausible.Stats.Query.t()