# Path: forsun/version.py



import sys
import os
import datetime
import tzlocal
import psutil
from .version import version
        from .store import get_store_names
        from .action import get_driver_names
        from .timer import current
        from . import config
        self.http_requested_count = 0
        self.http_requested_error_count = 0
        self.created_count = 0
        self.create_timeouted_count = 0
        self.removed_count = 0
        self.plan_count = 0
        self.timeout_handling_count = 0
        self.timeout_handled_count = 0
        self.action_executing_count = 0
        self.action_executed_count = 0
        self.action_executed_error_count = 0
        self.action_retried_count = 0
        self.timer_loop_count = 0
        self.timer_loop_ready_error_count = 0
        self.customs = {}

    def inc(self, key, value = 1):
        if key not in self.customs:
            self.customs[key] = value
        else:
            self.customs[key] += value
        
    def get_info(self):

        process = psutil.Process(os.getpid())
        cpu_times = process.cpu_times()
        memory_info = process.memory_info()

        info = {
            "python_version": sys.version.replace("\n", " "),

# Path: forsun/version.py



# Path: forsun/status.py
import sys
import os
import datetime
import tzlocal
import psutil
from .version import version
        from .store import get_store_names
        from .action import get_driver_names
        from .timer import current
        from . import config

        self.http_requested_count = 0
        self.http_requested_error_count = 0
        self.created_count = 0
        self.create_timeouted_count = 0
        self.removed_count = 0
        self.plan_count = 0
        self.timeout_handling_count = 0
        self.timeout_handled_count = 0
        self.action_executing_count = 0
        self.action_executed_count = 0
        self.action_executed_error_count = 0
        self.action_retried_count = 0
        self.timer_loop_count = 0
        self.timer_loop_ready_error_count = 0
        self.customs = {}

    def inc(self, key, value = 1):
        if key not in self.customs:
            self.customs[key] = value
        else:
            self.customs[key] += value
        
    def get_info(self):

        process = psutil.Process(os.getpid())
        cpu_times = process.cpu_times()
        memory_info = process.memory_info()

        info = {
            "python_version": sys.version.replace("\n", " "),

            "forsun_version": version,