Don't enforce namespace for metrics
[ric-plt/xapp-frame.git] / pkg / xapp / metrics.go
index 8059891..ef5ba30 100644 (file)
@@ -300,10 +300,6 @@ func NewMetrics(url, namespace string, r *mux.Router) *Metrics {
        if url == "" {
                url = "/ric/v1/metrics"
        }
-       if namespace == "" {
-               namespace = "ricxapp"
-       }
-
        Logger.Info("Serving metrics on: url=%s namespace=%s", url, namespace)
 
        // Expose 'metrics' endpoint with standard golang metrics used by prometheus