# -*- coding: utf-8 -*-
from __future__ import absolute_import

from django.apps import AppConfig


class CommonAppConfig(AppConfig):
    name = "common"

    def ready(self):
        import common.signals  # noqa: F401

# -*- coding: utf-8 -*-
from __future__ import absolute_import

from django.apps import AppConfig
from prometheus_client import Info

from storage_service import __version__


version_info = Info("version", "Archivematica Storage Service version info")


class CommonAppConfig(AppConfig):
    name = "common"

    def ready(self):
        import common.signals  # noqa: F401
        version_info.info({"version": __version__})

Include application version info metric
Include application version info metric
