Class: DatadogAPIClient::V2::ExperimentsCreateMetricNumeratorAttributes

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

Overview

Configuration for a metric calculated from a numerator and an optional denominator. Omit percentile_aggregation. Omit denominator_aggregation when unused.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#data_source_type ⇒ Object

Source of the data backing this metric.



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

def data_source_type
  @data_source_type
end

#denominator_aggregation ⇒ Object

Measure and calculation settings for a numerator or denominator aggregation. Supply exactly one non-null measure.



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

def denominator_aggregation
  @denominator_aggregation
end

#description ⇒ Object

Description of the metric. Send null to leave it unset.



31
32
33
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 31

def description
  @description
end

#desired_change ⇒ Object

Direction of change that represents an improvement for this metric.



34
35
36
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 34

def desired_change
  @desired_change
end

#format_as_percent ⇒ Object

Whether results render as a percentage. Defaults to false when omitted.



37
38
39
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 37

def format_as_percent
  @format_as_percent
end

#guardrail_cutoff_threshold ⇒ Object

Guardrail cutoff threshold. Send null to leave it unset.



40
41
42
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 40

def guardrail_cutoff_threshold
  @guardrail_cutoff_threshold
end

#migration_metadata ⇒ Object

Metadata associated with migration of this resource.



43
44
45
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 43

def 
  @migration_metadata
end

#name ⇒ Object

Name of the metric.



46
47
48
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 46

def name
  @name
end

#numerator_aggregation ⇒ Object

Measure and calculation settings for a numerator or denominator aggregation. Supply exactly one non-null measure.



49
50
51
# File 'lib/datadog_api_client/v2/models/experiments_create_metric_numerator_attributes.rb', line 49

def numerator_aggregation
  @numerator_aggregation
end