diff --git a/internal/core/data/application/app.go b/internal/core/data/application/app.go index fc30fea721..bf5f7faadf 100644 --- a/internal/core/data/application/app.go +++ b/internal/core/data/application/app.go @@ -58,7 +58,6 @@ func NewCoreDataApp(dic *di.Container) *CoreDataApp { } app.lc.Infof("Registered metrics counter %s", eventsPersistedMetricName) - app.readingsPersistedCounter = gometrics.NewCounter() if err := metricsManager.Register(readingsPersistedMetricName, app.readingsPersistedCounter, nil); err != nil { app.lc.Errorf("%s metrics will not be collected: %s", readingsPersistedMetricName, err.Error()) }