# Functions

ConfigureMetrics takes the input values from the user, starts the metrics server, as well as creates service and routes.
GenerateRoute creates a route to expose the metrics based on the specified path.
GenerateService returns the static service at specified port.
GenerateServiceMonitor generates a prometheus-operator ServiceMonitor object based on the passed Service object.
NewBuilder initializes the configuration builder for a given namespace and service name.
RegisterMetrics takes the list of metrics to be registered from the user and registers to prometheus.
StartMetrics starts the server based on the metricsConfig provided by the user.