Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
VinozzZ committed Mar 6, 2025
1 parent 19c9b89 commit 43ebac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ func (agent *Agent) healthCheck() {
}
}

traceUsage, ok := agent.metrics.Get("bytes_received_trace")
traceUsage, ok := agent.metrics.Get("bytes_received_traces")
if !ok {
agent.logger.Errorf(context.Background(), "unexpected missing trace usage metric")
}
logUsage, ok := agent.metrics.Get("bytes_received_log")
logUsage, ok := agent.metrics.Get("bytes_received_logs")
if !ok {
agent.logger.Errorf(context.Background(), "unexpected missing log usage metric")
}
Expand Down

0 comments on commit 43ebac3

Please sign in to comment.