Engine usage stats
Utilities for recording the engine activity.
EngineUsageStats
¶
Bases: object
Engine Usage utilities class.
Source code in mkdocs/lakehouse_engine/packages/utils/engine_usage_stats.py
store_engine_usage(acon, func_name, collect_engine_usage=None, spark_confs=None)
classmethod
¶
Collects and store Lakehouse Engine usage statistics.
These statistics include the acon and other relevant information, such as the lakehouse engine version and the functions/algorithms being used.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
acon
|
dict
|
acon dictionary file. |
required |
func_name
|
str
|
function name that called this log acon. |
required |
collect_engine_usage
|
str
|
Lakehouse usage statistics collection strategy. |
None
|
spark_confs
|
dict
|
optional dictionary with the spark confs to be used when collecting the engine usage. |
None
|