Time Series Store

Description

Time-series providers register through IFlexTimeSeriesStore. Your application code stays provider-agnostic while the selected provider handles ingestion, querying, and retention.

Infrastructure arrangement

When you add a time-series provider through Flex Studio, Flex generates the provider infrastructure and configuration:

  1. Provider files under Infrastructure/Providers/{YourApplication}.DataStoreProviders/TimeSeries/{Provider}/

  2. Default configuration under Application/EndPoints/{YourApplication}.EndPoint.CommonConfigs/AppSettings/DataStores/TimeSeries/{Provider}.json

Flex auto-wires generated Queries/Handlers/Plugins that use IFlexTimeSeriesStore—you only register the provider.

Configuration in DI

Register only the provider time-series store you need.

// Pick ONE provider.
services.AddFlexAzureDataExplorerTimeSeriesStore(configuration);
// services.AddFlexInfluxDBTimeSeriesStore(configuration);
// services.AddFlexTimescaleDBTimeSeriesStore(configuration);

appsettings.json

Time-series configuration is read from FlexBase:DataStores:TimeSeries:<Provider>.

Sample usage ({YourApplication})

Provider pages

  • Azure Data Explorer (Kusto): time-series-store/azure-data-explorer.md

  • InfluxDB: time-series-store/influx-db.md

  • TimescaleDB: time-series-store/timescale-db.md

Provider considerations

  • Keep secrets (tokens/credentials/connection strings) out of source control.

  • Configure retention and batching in the provider section to match your telemetry volume.

Last updated