Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 2.19 KB

File metadata and controls

42 lines (35 loc) · 2.19 KB

MetricInGroupRep

Properties

Name Type Description Notes
key string The metric key [default to undefined]
_versionId string The version ID of the metric [optional] [default to undefined]
name string The metric name [default to undefined]
kind string The kind of event the metric tracks [default to undefined]
isNumeric boolean For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>). [optional] [default to undefined]
unitAggregationType string The type of unit aggregation to use for the metric [optional] [default to undefined]
analysisType string The method for analyzing metric events [optional] [default to undefined]
eventKey string The event key sent with the metric. Only relevant for custom metrics. [optional] [default to undefined]
_links { [key: string]: Link; } The location and content type of related resources [default to undefined]
nameInGroup string Name of the metric when used within the associated metric group. Can be different from the original name of the metric. Required if and only if the metric group is a <code>funnel</code>. [optional] [default to undefined]
randomizationUnits Array<string> Deprecated, use <code>analysisUnits</code> instead. [optional] [default to undefined]
analysisUnits Array<string> An array of analysis units allowed for this metric. [optional] [default to undefined]

Example

import { MetricInGroupRep } from 'launchdarkly-api-typescript';

const instance: MetricInGroupRep = {
    key,
    _versionId,
    name,
    kind,
    isNumeric,
    unitAggregationType,
    analysisType,
    eventKey,
    _links,
    nameInGroup,
    randomizationUnits,
    analysisUnits,
};

[Back to Model list] [Back to API list] [Back to README]