Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.9 KB

File metadata and controls

40 lines (34 loc) · 1.9 KB

LaunchDarklyApi::DenominatorPost

Properties

Name Type Description Notes
event_name String The warehouse event column for the denominator. Required. [optional]
is_numeric Boolean Whether the denominator aggregates a numeric value [optional]
data_source MetricDataSourceRefRep [optional]
unit_aggregation_type String How individual unit values are aggregated. One of: average, sum, count_distinct [optional]
unit_aggregation_field String The warehouse column to use for counting distinct values. Required when the unitAggregationType is count_distinct. [optional]
filters EventFilter [optional]
window_start_offset Integer Start of the measurement window in milliseconds [optional]
window_end_offset Integer End of the measurement window in milliseconds [optional]
winsor_lower_percentile Float Lower winsorization percentile in the open interval (0, 100) [optional]
winsor_upper_percentile Float Upper winsorization percentile in the open interval (0, 100) [optional]
winsor_exclude_imputed Boolean Deprecated and ignored. Use winsorIncludeImputed instead. [optional]
winsor_include_imputed Boolean When true, includes imputed zeros in the percentile bound calculation [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::DenominatorPost.new(
  event_name: checkout.started,
  is_numeric: null,
  data_source: null,
  unit_aggregation_type: sum,
  unit_aggregation_field: null,
  filters: null,
  window_start_offset: null,
  window_end_offset: null,
  winsor_lower_percentile: null,
  winsor_upper_percentile: null,
  winsor_exclude_imputed: null,
  winsor_include_imputed: null
)