Athento allows to monitor the executions of the instance according to its type.
To monitor these executions you must execute the increment_executions method passing as parameter the type of the execution for which you increment the counter. Optionally, you can also pass the number of executions to increment. If this parameter is not passed, the counter will be incremented by 1.
from health.utils.utils import increment_executions
increment_executions('bulk_download')
increment_executions('bulk_update', 7) # Pasando la cantidad a incrementar
From the execution of this method, the executions for this type of execution will be counted in cache. As soon as the number of executions in cache exceeds the value established in the setting PERSIST_NUMBER_EXECUTION_LOG_EXECUTION_TIMES, this count will be persisted and since then this data can be visualized in the “Executions monitor” section of the “Global Admin Console” section of the instance.
In this section you can see the information available on the different types of executions in the instance.
At the moment, you can view the data filtered by date with the following options:
- Last week
- Last month
- Last year
Also, through the drop-down next to the graph, you can select the lines you want to be displayed, allowing a fresher view of the information if necessary.
Comments
0 comments
Please sign in to leave a comment.