main-concepts

No menu items for this category

Metric

This schema defines the Metrics entity. Metrics are measurements computed from data such as Monthly Active Users. Some of the metrics that measures used to determine performance against an objective are called KPIs or Key Performance Indicators, such as User Retention.

  • metricExpression (object): Cannot contain additional properties.
    • language (string): This schema defines the type of the language used for Metric Expression Code. Must be one of: ["SQL", "Java", "JavaScript", "Python", "External"].
    • code (string): This schema defines the type of the language used for Metric Formula's Code.
  • metricType (string): This schema defines the type of Metric. Must be one of: ["COUNT", "SUM", "AVERAGE", "RATIO", "PERCENTAGE", "MIN", "MAX", "MEDIAN", "MODE", "STANDARD_DEVIATION", "VARIANCE", "OTHER"].
  • unitOfMeasurement (string): This schema defines the type of Metric's unit of measurement. Must be one of: ["COUNT", "DOLLARS", "PERCENTAGE", "TIMESTAMP", "SIZE", "REQUESTS", "EVENTS", "TRANSACTIONS"].
  • metricGranularity (string): This schema defines the type of Metric's granularity. Must be one of: ["SECOND", "MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR"].

Documentation file automatically generated at 2025-01-15 09:05:25.266839+00:00.