新增实时数据采集脚本

This commit is contained in:
pengtao 2019-08-19 17:00:01 +08:00
parent 4affcbee08
commit e7a9d3ba27

View File

@ -1,10 +1,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from mytask.tga import FromTga from mytask.tga import GetFromTga
from config.config_real import influx_meas from config.config_real import influx_meas
from ops.myinflux import Myinflux from ops.myinflux import Myinflux
class RealData(FromTga): class RealData(GetFromTga):
def event_user(self): def event_user(self):
sql_new_user = f"""select sql_new_user = f"""select
count(DISTINCT "#account_id") , count(DISTINCT "#account_id") ,