<commit_before>﻿// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using App.Metrics.Core.Options;

namespace App.Metrics.Internal
{
    public static class ApplicationHealthMetricRegistry
    {
        public static readonly string Context = "Health";

        public static CounterOptions DegradedCheckCounter => new CounterOptions
                                                             {
                                                                 Context = Context,
                                                                 Name = "Degraded",
                                                                 MeasurementUnit = Unit.Items,
                                                                 ResetOnReporting = true,
                                                                 ReportItemPercentages = true,
                                                                 ReportSetItems = true
                                                             };

        public static CounterOptions HealthyCheckCounter => new CounterOptions
                                                            {
                                                                Context = Context,<commit_msg>excluding health metric registery from coverage<commit_after>﻿// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using App.Metrics.Core.Options;

namespace App.Metrics.Internal
{
    [AppMetricsExcludeFromCodeCoverage]
    public static class ApplicationHealthMetricRegistry
    {
        public static readonly string Context = "Health";

        public static CounterOptions DegradedCheckCounter => new CounterOptions
                                                             {
                                                                 Context = Context,
                                                                 Name = "Degraded",
                                                                 MeasurementUnit = Unit.Items,
                                                                 ResetOnReporting = true,
                                                                 ReportItemPercentages = true,
                                                                 ReportSetItems = true
                                                             };

        public static CounterOptions HealthyCheckCounter => new CounterOptions
                                                            {
                                                                Context = Context,
{'fraction_non_alphanumeric': 0.04005826656955572, 'fraction_numerical': 0.0014566642388929353, 'mean_word_length': 0.782608695652174, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3953836', 'n_tokens_mistral': 384, 'n_tokens_neox': 355, 'n_words': 131}