Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 3.98 KB

MetricRep.md

File metadata and controls

83 lines (59 loc) · 3.98 KB

MetricRep

Properties

Name Type Description Notes
experimentCount Integer The number of experiments using this metric [optional]
metricGroupCount Integer The number of metric groups using this metric [optional]
id String The ID of this metric
versionId String The version ID of the metric
key String A unique key to reference the metric
name String A human-friendly name for the metric
kind KindEnum The kind of event the metric tracks
attachedFlagCount Integer The number of feature flags currently attached to this metric [optional]
links Map<String, Link> The location and content type of related resources
site Link [optional]
access Access [optional]
tags List<String> Tags for the metric
creationDate Long
lastModified Modification [optional]
maintainerId String The ID of the member who maintains this metric [optional]
maintainer MemberSummary [optional]
description String Description of the metric [optional]
category String The category of the metric [optional]
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]
successCriteria SuccessCriteriaEnum For custom metrics, the success criteria [optional]
unit String For numeric custom metrics, the unit of measure [optional]
eventKey String For custom metrics, the event key to use in your code [optional]
randomizationUnits List<String> An array of randomization units allowed for this metric [optional]
unitAggregationType UnitAggregationTypeEnum The method by which multiple unit event values are aggregated [optional]
analysisType AnalysisTypeEnum The method for analyzing metric events [optional]
percentileValue Integer The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>. [optional]
eventDefault MetricEventDefaultRep [optional]
experiments List<DependentExperimentRep> [optional]
metricGroups List<DependentMetricGroupRep> Metric groups that use this metric [optional]
isActive Boolean Whether the metric is active [optional]
attachedFeatures List<FlagListingRep> Details on the flags attached to this metric [optional]
version Integer Version of the metric [optional]
selector String For click metrics, the CSS selectors [optional]
urls List<Map<String, Object>> [optional]

Enum: KindEnum

Name Value
PAGEVIEW "pageview"
CLICK "click"
CUSTOM "custom"

Enum: SuccessCriteriaEnum

Name Value
HIGHERTHANBASELINE "HigherThanBaseline"
LOWERTHANBASELINE "LowerThanBaseline"

Enum: UnitAggregationTypeEnum

Name Value
AVERAGE "average"
SUM "sum"

Enum: AnalysisTypeEnum

Name Value
MEAN "mean"
PERCENTILE "percentile"