diff --git a/pkg/innerring/innerring.go b/pkg/innerring/innerring.go index 79555aa156..aeb5b15b08 100644 --- a/pkg/innerring/innerring.go +++ b/pkg/innerring/innerring.go @@ -925,7 +925,7 @@ func New(ctx context.Context, log *logger.Logger, cfg *viper.Viper, errChan chan queueSize: cfg.GetUint32("workers.subnet"), }) - if cfg.GetString("metrics.address") != "" { + if cfg.GetString("prometheus.address") != "" { m := metrics.NewInnerRingMetrics() server.metrics = &m }