MetricAggregationResult

public struct MetricAggregationResult : Codable, Equatable

Aggregation result data for the requested metric.

  • Date in string form representing the start of this interval.

    Declaration

    Swift

    public var keyAsString: Date?
  • key

    Unix epoch time equivalent of the key_as_string, that represents the start of this interval.

    Declaration

    Swift

    public var key: Int?
  • Number of matching results.

    Declaration

    Swift

    public var matchingResults: Int?
  • The number of queries with associated events divided by the total number of queries for the interval. Only returned with event_rate metrics.

    Declaration

    Swift

    public var eventRate: Double?