Skip to main content

Module timeseries

Module timeseries 

Source
Expand description

MongoDB time series collection configuration and validation.

Time series collections in MongoDB use automatic bucketing for efficient storage and querying of time-stamped measurement data. This module provides typed configuration for creating and validating time series collections.

§Important Constraints

  • Time series collections only accept insert operations; other write modes are rejected at the sink level.
  • MongoDB does not support watch() (change streams) on time series collections — a source targeting one named collection rejects these.

Structs§

TimeSeriesConfig
Configuration for a MongoDB time series collection.

Enums§

CollectionKind
Whether the target collection is a standard or time series collection.
TimeSeriesGranularity
Time series bucketing granularity.