capabilities.work

Metric Timeseries Trend

A 2-step recipe with Mux. We can help you get access.

Recipe · 2 steps

Metric Timeseries Trend

with Mux
Works with AI assistants

Get a metric's overall value then its timeseries trend.

  1. Fetch the overall value of the metric across the timeframe to anchor the trend.
  2. Retrieve the metric's timeseries grouped by the chosen granularity to see how it trended over the timeframe.
What you'll need to have ready
  • metricId: The metric id to trend (e.g. video_startup_time, playback_failure_percentage).
  • timeframe: Timeframe window (e.g. ["7:days"] or two epoch timestamps).
  • groupBy: Time granularity to group the timeseries by (e.g. hour, day).
  • filters: Optional key:value filter clauses to scope the analysis.
For your developer

Arazzo workflow mux-com:metric-timeseries-trend, 2 operations: get-overall-values → get-metric-timeseries-data. Specs on APIs.io.