Skip to main content

Module histogram

Module histogram 

Source
Expand description

Histogram functionality for generating time-series data from journal files.

This module provides types and services for computing histograms of journal log entries over time ranges, with support for filtering and faceted field indexing.

Structs§

BucketRequest
A bucket request contains a [start, end) time range along with the filter that should be applied.
BucketResponse
A bucket response containing aggregated field value counts.
Histogram
Represents a histogram of journal log entries over time.
HistogramEngine
Engine for computing histograms from journal files.

Functions§

calculate_bucket_duration
Calculate the appropriate bucket duration for a given time range.