Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Don't enforce namespace for metrics
[ric-plt/xapp-frame.git]
/
pkg
/
xapp
/
metrics.go
diff --git
a/pkg/xapp/metrics.go
b/pkg/xapp/metrics.go
index
8059891
..
ef5ba30
100644
(file)
--- a/
pkg/xapp/metrics.go
+++ b/
pkg/xapp/metrics.go
@@
-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