CompareMetricsInput
Input for multi-metric comparison
Fields
Metrics to compare (2-10)
Start of time range (ISO8601)
End of time range (ISO8601)
Time bucket interval
Possible values (8)
SECONDOne-second buckets
MINUTEOne-minute buckets
FIVE_MINUTESFive-minute buckets
FIFTEEN_MINUTESFifteen-minute buckets
HOUROne-hour buckets
DAYOne-day buckets
WEEKOne-week buckets
MONTHOne-month buckets
Aggregate functions to compute (default: [AVG])
Possible values (11)
COUNTNumber of data points in the bucket
AVGAverage value (delta for counter metrics)
MINMinimum value
MAXMaximum value
SUMSum of all values
FIRSTFirst value in the bucket (time-ordered)
LASTLast value in the bucket (time-ordered)
STDDEVStandard deviation of values
TIME_WEIGHTED_AVGTime-weighted average (Toolkit: time_weight)
DELTACounter delta with reset detection (Toolkit: counter_agg)
RATECounter rate per second with reset detection (Toolkit: counter_agg)
Referenced by (1)
Exact type 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!]
}