func NewMetrics(
	loggingClient logger.LoggingClient,
	genClients agent.GeneralClients,
	configClients agent.ConfigurationClients,
	registryClient registry.Client,
	serviceProtocol string) *metrics {

	return &metrics{
		loggingClient:   loggingClient,
		genClients:      genClients,
		configClients:   configClients,
		registryClient:  registryClient,
		serviceProtocol: serviceProtocol,
	}
}
// NewMetrics is a factory method that returns an initialized metrics receiver struct.
NewMetrics is a factory method that returns an initialized metrics receiver struct.
// NewMetrics is a factory method that returns an initialized metrics receiver struct .
func NewMetrics(
	loggingClient logger.LoggingClient,
	genClients agent.GeneralClients,
	configClients agent.ConfigurationClients,
	registryClient registry.Client,
	serviceProtocol string) *metrics {
	return &metrics{
		loggingClient:   loggingClient,
		genClients:      genClients,
		configClients:   configClients,
		registryClient:  registryClient,
		serviceProtocol: serviceProtocol,
	}
}
func NewMetrics ( loggingClient logger . LoggingClient , genClients agent . GeneralClients , configClients agent . ConfigurationClients , registryClient registry . Client , serviceProtocol string ) * metrics { return & metrics { loggingClient : loggingClient , genClients : genClients , configClients : configClients , registryClient : registryClient , serviceProtocol : serviceProtocol , } }
NewMetrics is a factory method that returns an initialized metrics receiver struct.
NewMetrics is a factory method that returns an initialized metrics receiver struct .