Esempio n. 1
0
        private static AlertsStore BuildAlertsStore(IOptions <InfluxDbOptions> options)
        {
            var influxDBClientProvider = new InfluxDBClientProvider(options);
            var alertsStore            = new AlertsStore(options, influxDBClientProvider.Get());

            return(alertsStore);
        }
Esempio n. 2
0
        private static IFluxQueryBuilder BuildFluxQueryBuilder(IOptions <InfluxDbOptions> options)
        {
            var influxDBClientProvider = new InfluxDBClientProvider(options);
            var envSensorsStore        = new FluxQueryBuilder(options, influxDBClientProvider.Get());

            return(envSensorsStore);
        }
        private static EnvSensorsStore BuildEnvSensorsStore(IOptions <InfluxDbOptions> options)
        {
            var influxDBClientProvider = new InfluxDBClientProvider(options);
            var envSensorsStore        = new EnvSensorsStore(options, influxDBClientProvider.Get());

            return(envSensorsStore);
        }