Generates a histogram from timestamp values

interface TimeHistogramAggregate {
    timeHistogram: {
        aggregates?: RecordAggregates;
        calendarInterval?: CalendarInterval;
        fixedInterval?: string;
        hardBounds?: HistogramHardBounds;
        property: AggregateProperty;
    };
}

Properties

Properties

timeHistogram: {
    aggregates?: RecordAggregates;
    calendarInterval?: CalendarInterval;
    fixedInterval?: string;
    hardBounds?: HistogramHardBounds;
    property: AggregateProperty;
}

Type declaration

  • Optionalaggregates?: RecordAggregates

    Sub-aggregates to apply within each bucket

  • OptionalcalendarInterval?: CalendarInterval

    Calendar interval (mutually exclusive with fixedInterval)

  • OptionalfixedInterval?: string

    Fixed interval e.g. '3m', '400h', '25d' (mutually exclusive with calendarInterval)

  • OptionalhardBounds?: HistogramHardBounds

    Limit the range of buckets

  • property: AggregateProperty