| MetricsConfigBase | R Documentation |
It determines the step or time range that needs to be
profiled and validates the input value pairs. Available profiling range parameter pairs are
(start_step and num_steps) and (start_unix_time and duration).
The two parameter pairs are mutually exclusive, and this class validates
if one of the two pairs is used. If both pairs are specified, a
FOUND_BOTH_STEP_AND_TIME_FIELDS error occurs.
new()Validate the provided range fields and set the range to be profiled accordingly.
MetricsConfigBase$new( name, start_step = NULL, num_steps = NULL, start_unix_time = NULL, duration = NULL )
name(str): The name of the metrics config.
start_step(int): The step to start profiling.
num_steps(int): The number of steps to profile.
start_unix_time(int): The Unix time to start profiling.
duration(float): The duration in seconds to profile.
to_json_string()Convert this metrics configuration to dictionary formatted as a string. Calling eval on the return value is the same as calling _to_json directly.
MetricsConfigBase$to_json_string()
str: This metrics configuration as a dictionary and formatted as a string.
format()format class
MetricsConfigBase$format()
clone()The objects of this class are cloneable with this method.
MetricsConfigBase$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.