<commit_before>package io.advantageous.qbit.metrics.support;

import io.advantageous.qbit.metrics.StatReplicator;
import io.advantageous.qbit.reactive.Callback;
import io.advantageous.qbit.service.stats.StatCollection;

import java.util.Map;

public interface LocalStatsCollectorAsync extends StatReplicator, StatCollection {

    Map<String, Map<String, ?>> collect(Callback<Map<String, Map<String, ?>>> callback);<commit_msg>adding stats and health to end point server builder<commit_after>package io.advantageous.qbit.metrics.support;

import io.advantageous.qbit.metrics.StatReplicator;

import io.advantageous.qbit.service.stats.StatCollection;


public interface LocalStatsCollectorAsync extends StatReplicator, StatCollection {

{'fraction_non_alphanumeric': 0.09387755102040816, 'fraction_numerical': 0.0, 'mean_word_length': 7.269662921348314, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '4269514', 'n_tokens_mistral': 220, 'n_tokens_neox': 216, 'n_words': 40}