Skip to content

Files

Latest commit

625539b · Mar 12, 2024

History

History
22 lines (16 loc) · 678 Bytes

MetricInput.md

File metadata and controls

22 lines (16 loc) · 678 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]

Example

require 'launchdarkly_api'

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