This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-olp-exporter/src/main/java/net/geedge/config/MetricConfig.java
2021-07-05 12:42:38 +08:00

24 lines
805 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package net.geedge.config;
//package net.geedge.config;
//
//import io.prometheus.client.CollectorRegistry;
//import io.prometheus.client.Gauge;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class MetricConfig {
//// @Autowired
// public CollectorRegistry collectorRegistry = new CollectorRegistry();
//
// @Bean
// Gauge processorNatGatewayMonitorSnat(){
// return Gauge.build().name("processorNatGatewayMonitor_snat")
// .labelNames("natgatewayid")
// .help("processorNatGatewayMonitorSnatrecord by gatewayid and nodeip")
// .register(collectorRegistry);
// }
//
//}