<commit_before># -*- 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
<commit_msg>Include application version info metric<commit_after># -*- 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__})

{'fraction_non_alphanumeric': 0.0907840440165062, 'fraction_numerical': 0.011004126547455296, 'mean_word_length': 4.163120567375887, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6863517', 'n_tokens_mistral': 214, 'n_tokens_neox': 202, 'n_words': 63}