You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a log_usage feature in the HTA open-source project to track and log various metrics of user interactions and system performance.
Description
The log_usage feature will be designed to collect, store, and analyze data on user interactions and system performance within the HTA project. This will provide valuable insights into how the tool is used, helping to identify areas for improvement and optimize performance.
The goal is to add a log_usage decorator which can be used to log the performance of usage patterns of selected APIs.
The open-source project provides a default decorator but users can customize the log_usage decorator based on their needs.
Usage:
from hta.utils.log_usage import log_usage
@log_usage
def sample_function(x: int, y: int) -> int:
return x + y
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
🚀 Motivation and context
Introduce a log_usage feature in the HTA open-source project to track and log various metrics of user interactions and system performance.
Description
The log_usage feature will be designed to collect, store, and analyze data on user interactions and system performance within the HTA project. This will provide valuable insights into how the tool is used, helping to identify areas for improvement and optimize performance.
log_usage
decorator which can be used to log the performance of usage patterns of selected APIs.log_usage
decorator based on their needs.Usage:
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: