hots.core.instance
HOTS core functionality: manage state and data ingestion.
- class hots.core.instance.FieldNames(tick: str, host: str, individual: str)[source]
Bases:
objectColumn names used across the project.
- host: str
- individual: str
- tick: str
- class hots.core.instance.Instance(config: AppConfig)[source]
Bases:
objectMaintain application state, including data, Kafka, and metrics.
- get_id_map() dict[Any, int][source]
Get a mapping from container IDs to integer indices.
The mapping is cached and invalidated when update_data() appends new rows.