diff --git a/agent/consul/state/usage_test.go b/agent/consul/state/usage_test.go index 5b231d568f..28d492e205 100644 --- a/agent/consul/state/usage_test.go +++ b/agent/consul/state/usage_test.go @@ -48,7 +48,7 @@ func TestStateStore_Usage_NodeUsage_Delete(t *testing.T) { func TestStateStore_Usage_KVUsage(t *testing.T) { s := testStateStore(t) - // No nodes have been registered, and thus no usage entry exists + // No keys have been registered, and thus no usage entry exists idx, usage, err := s.KVUsage() require.NoError(t, err) require.Equal(t, idx, uint64(0)) diff --git a/agent/consul/usagemetrics/usagemetrics.go b/agent/consul/usagemetrics/usagemetrics.go index 78fa7ffc3d..53c011199d 100644 --- a/agent/consul/usagemetrics/usagemetrics.go +++ b/agent/consul/usagemetrics/usagemetrics.go @@ -149,7 +149,7 @@ func (u *UsageMetricsReporter) Run(ctx context.Context) { } func (u *UsageMetricsReporter) runOnce() { - u.logger.Debug("Starting usage run") + u.logger.Trace("Starting usage run") state := u.stateProvider.State() _, nodeUsage, err := state.NodeUsage() @@ -171,7 +171,7 @@ func (u *UsageMetricsReporter) runOnce() { _, kvUsage, err := state.KVUsage() if err != nil { - u.logger.Warn("failed to retrieve kv entries from state store", "error", err) + u.logger.Warn("failed to retrieve kv entry usage from state store", "error", err) } u.emitKVUsage(kvUsage)