Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 859 Bytes

File metadata and controls

24 lines (18 loc) · 859 Bytes

LaunchDarklyApi::MetricInput

Properties

Name Type Description Notes
key String The metric key
is_group Boolean Whether this is a metric group (true) or a metric (false). Defaults to false [optional]
primary Boolean Deprecated, use <code>primarySingleMetricKey</code> and <code>primaryFunnelKey</code>. Whether this is a primary metric (true) or a secondary metric (false) [optional]
analysis_unit String The analysis unit to use for this metric. If omitted, analysis uses the iteration's randomization unit. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::MetricInput.new(
  key: metric-key-123abc,
  is_group: true,
  primary: true,
  analysis_unit: user
)