mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-22 09:06:41 +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()
|
|
|