Tungsten v0.1.0 Tungsten.CDP.Performance View Source
This domain has no documentation
Link to this section Summary
Link to this section Types
Link to this type
cdp_metric_type() View Source
Run-time execution metric.
Link to this section Functions
Link to this function
disable(session, parameters \\ %{}, options \\ [])
View Source
disable(session, parameters \\ %{}, options \\ [])
View Source
disable(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
disable(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Disable collecting and reporting metrics.
Link to this function
enable(session, parameters \\ %{}, options \\ [])
View Source
enable(session, parameters \\ %{}, options \\ [])
View Source
enable(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
enable(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Enable collecting and reporting metrics.
Link to this function
get_metrics(session, parameters \\ %{}, options \\ [])
View Source
get_metrics(session, parameters \\ %{}, options \\ [])
View Source
get_metrics(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, %{metrics: [cdp_metric_type()]}} | {:error, term()}
get_metrics(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, %{metrics: [cdp_metric_type()]}} | {:error, term()}
Retrieve current values of run-time metrics.
Link to this function
set_time_domain(session, parameters, options \\ [])
View Source
set_time_domain(session, parameters, options \\ [])
View Source
set_time_domain(
GenServer.server(),
%{time_domain: :thread_ticks | :time_ticks},
Tungsten.Connection.exec_options()
) :: {:ok, map()} | {:error, term()}
set_time_domain( GenServer.server(), %{time_domain: :thread_ticks | :time_ticks}, Tungsten.Connection.exec_options() ) :: {:ok, map()} | {:error, term()}
Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.