mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-12-01 04:53:42 +03:00
12 lines
230 B
Python
12 lines
230 B
Python
|
from infi.clickhouse_orm import Model, DateTimeField, UInt16Field, Float32Field, Memory
|
||
|
|
||
|
|
||
|
class CPUStats(Model):
|
||
|
|
||
|
timestamp = DateTimeField()
|
||
|
cpu_id = UInt16Field()
|
||
|
cpu_percent = Float32Field()
|
||
|
|
||
|
engine = Memory()
|
||
|
|