Class: DatadogAPIClient::V2::ExperimentsCreateExperimentV2RequestDataAttributesTrafficExposureStepsItems

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/experiments_create_experiment_v2_request_data_attributes_traffic_exposure_steps_items.rb

Overview

Configured exposure plan rather than wall-clock history. At least two steps must have strictly increasing fractions and no gaps. Warehouse steps start at assignments_start_date and can use different durations. New Datadog plans have at most five steps and a first fraction above zero. Their nonfinal durations must be equal and exclude time paused. Datadog steps start with the experiment. Running warehouse experiments can replace step fractions, durations, and the exposure mode. After start, Datadog exposure plans cannot change through the public API. The final duration is null and its fraction holds until assignment ends.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/experiments_create_experiment_v2_request_data_attributes_traffic_exposure_steps_items.rb', line 30

def additional_properties
  @additional_properties
end

#duration_ms ⇒ Object

Positive step duration in milliseconds. Datadog durations exclude pauses. Send null for the final step.



25
26
27
# File 'lib/datadog_api_client/v2/models/experiments_create_experiment_v2_request_data_attributes_traffic_exposure_steps_items.rb', line 25

def duration_ms
  @duration_ms
end

#fraction ⇒ Object

Fraction of traffic exposed during this step.



28
29
30
# File 'lib/datadog_api_client/v2/models/experiments_create_experiment_v2_request_data_attributes_traffic_exposure_steps_items.rb', line 28

def fraction
  @fraction
end