← API reference
CANONICAL TYPE REFERENCE

CompareMetricsInput

Input for multi-metric comparison

Metrics to compare (2-10)

Start of time range (ISO8601)

End of time range (ISO8601)

Time bucket interval

Aggregate functions to compute (default: [AVG])

Filter by tag key-value pairs (applied to all metrics)

View exact SDL
"""Input for multi-metric comparison"""
input CompareMetricsInput {
  """Metrics to compare (2-10)"""
  metricIds: [MetricID!]!
  """Start of time range (ISO8601)"""
  from: ISO8601!
  """End of time range (ISO8601)"""
  to: ISO8601!
  """Time bucket interval"""
  interval: MetricInterval!
  """Aggregate functions to compute (default: [AVG])"""
  aggregates: [MetricAggregateFunction!]
  """Filter by tag key-value pairs (applied to all metrics)"""
  tags: [DictionaryInput!]
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.