func NewConfig(listenAddress string, metricsPath string, namespace string, nginxUrls []string, nginxPlusUrls []string) *Config {
	return &Config{
		ListenAddress: listenAddress,
		MetricsPath:   metricsPath,
		Namespace:     namespace,
		NginxUrls:     nginxUrls,
		NginxPlusUrls: nginxPlusUrls,
	}
}
NewConfig creates new application config.
package common
type Config struct {
	ListenAddress string
	MetricsPath   string
	Namespace     string
	NginxUrls     []string
	NginxPlusUrls []string
}