← API reference
CANONICAL TYPE REFERENCE

MetricDownsampleInput

Input for visual downsampling (Toolkit: lttb / gp_lttb)

Metric to downsample

Start of time range (ISO8601)

End of time range (ISO8601)

Target number of points to return (default: 500, max: 5000)

Filter by tag key-value pairs

Preserve gaps in data instead of interpolating across them (default: true, uses gp_lttb)

View exact SDL
"""Input for visual downsampling (Toolkit: lttb / gp_lttb)"""
input MetricDownsampleInput {
  """Metric to downsample"""
  metricId: MetricID!
  """Start of time range (ISO8601)"""
  from: ISO8601!
  """End of time range (ISO8601)"""
  to: ISO8601!
  """Target number of points to return (default: 500, max: 5000)"""
  targetPoints: Int
  """Filter by tag key-value pairs"""
  tags: [DictionaryInput!]
  """
  Preserve gaps in data instead of interpolating across them (default: true, uses gp_lttb)
  """
  preserveGaps: Boolean
}

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