metricCorrelation
Topics: Devices
Compute statistical correlation between two metrics over a time range. Returns Pearson correlation coefficient, slope, intercept, R-squared, and covariance. Metrics are joined by 1-second time buckets. Uses Toolkit stats_agg() 2D. Requires metric:read permission.
Exact field SDL
"""
Compute statistical correlation between two metrics over a time range. Returns Pearson correlation coefficient, slope, intercept, R-squared, and covariance. Metrics are joined by 1-second time buckets. Uses Toolkit stats_agg() 2D. Requires metric:read permission.
"""
metricCorrelation(
"""Correlation parameters"""
input: MetricCorrelationInput!
): MetricCorrelationResult! @topic(names: ["devices"])Declared on Query. Access is checked by the platform for each operation.