capabilities.work

Numeric Metric Monitor and Annotate

A 3-step recipe with Mixpanel. We can help you get access.

Recipe · 3 steps

Numeric Metric Monitor and Annotate

with Mixpanel · Product Usage Analytics

Query property sum then average then annotate the monitored window.

  1. Query the sum of the numeric property for the event over the date range. Uses service account basic auth.
  2. Query the average of the same numeric property for the event over the same date range.
  3. Create an annotation marking the monitored window so the sum and average can be overlaid on charts for the team.
What you'll need to have ready
  • projectId: The Mixpanel project ID.
  • eventName: The event name whose numeric property is monitored.
  • numericProperty: The numeric property to sum and average.
  • fromDate: Query start date (YYYY-MM-DD).
  • toDate: Query end date (YYYY-MM-DD).
  • annotationDate: Date-time to annotate (YYYY-MM-DDThh:mm:ss).
  • annotationText: Description text for the annotation.
For your developer

Arazzo workflow mixpanel:numeric-metric-monitor, 3 operations: querySegmentationSum → querySegmentationAverage → createAnnotation. Specs on APIs.io.