class PrometheusMetric implements Metric {

    @Override
    public void stopTiming(Object timerObj) {
        if (timerObj == null) {
            return;
        }
        Summary.Timer timer = (Summary.Timer) timerObj;
        timer.observeDuration();
    }

    public  PrometheusMetric(CollectorRegistry registry, ConcurrentMap<String, Collector> namesToCollectors, PrometheusExporter exporter, String namespace);
    public  PrometheusMetric(CollectorRegistry registry,
                            ConcurrentMap<String, Collector> namesToCollectors,
                            PrometheusExporter exporter,
                            String namespace,
                            boolean isLabelRequestDomainNameEnable,
                            boolean isLabelPrincipalDomainNameEnable,
                            boolean isLabelHttpMethodNameEnable,
                            boolean isLabelHttpStatusNameEnable,
                            boolean isLabelApiNameEnable);

}