generic_exporters.processors.exporters.datastores.timeseries package¶
Submodules¶
generic_exporters.processors.exporters.datastores.timeseries.multi module¶
generic_exporters.processors.exporters.datastores.timeseries.sql module¶
- class generic_exporters.processors.exporters.datastores.timeseries.sql.SQLTimeSeriesKeyValueStore(**connection_params: Dict[str, Any] | None)¶
Bases:
TimeSeriesDataStoreBase
- async _push(key: Any, ts: datetime, value: Any) None ¶
Exports data to Victoria Metrics using key somehow. lol
- async data_exists(key: Any, ts: datetime) bool ¶
Returns True if key returns results from your Postgres db at ts, False if not.
- push = None¶
- class generic_exporters.processors.exporters.datastores.timeseries.sql.TimeSeriesKV(*args, **kwargs)¶
Bases:
Entity
- _insert_sql_cache_ = {}¶
- _interleave_ = None¶
- _keys_ = []¶
- _load_sql_cache_ = {}¶
- _multiset_subclass_ = None¶
- _new_attrs_ = [TimeSeriesKV.key, TimeSeriesKV.timestamp, TimeSeriesKV.value]¶
- _pk_ = (TimeSeriesKV.key, TimeSeriesKV.timestamp)¶
- _pk_attrs_ = (TimeSeriesKV.key, TimeSeriesKV.timestamp)¶
- _pk_columns_ = None¶
- _pk_is_composite_ = True¶
- _propagation_mixin_ = None¶
- _root_¶
alias of
TimeSeriesKV
- _set_wrapper_subclass_ = None¶
- _simple_keys_ = []¶
- _subclass_adict_ = {}¶
- _subclass_attrs_ = []¶
- _subclasses_ = {}¶
- _table_ = None¶
- _update_sql_cache_ = {}¶
- key¶
- timestamp¶
- value¶
generic_exporters.processors.exporters.datastores.timeseries.victoria module¶
- class generic_exporters.processors.exporters.datastores.timeseries.victoria.VictoriaMetrics(url: str, key_label_name: LabelName, extra_labels: Dict[LabelName, LabelValue])¶
Bases:
TimeSeriesDataStoreBase