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:
Provider files under
Infrastructure/Providers/{YourApplication}.DataStoreProviders/TimeSeries/{Provider}/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.mdInfluxDB:
time-series-store/influx-db.mdTimescaleDB:
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