Skip to content

Commit

Permalink
Fix the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
towolf committed Jan 6, 2025
1 parent 02ef49f commit 351a091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/component/common/loki/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func TestClient_Handle(t *testing.T) {
expectedMetrics: `
# HELP loki_write_sent_entries_total Number of log entries sent to the ingester.
# TYPE loki_write_sent_entries_total counter
loki_write_sent_entries_total{host="__HOST__",tenant=""} 2.0
loki_write_sent_entries_total{host="__HOST__",tenant="tenant-default"} 2.0
# HELP loki_write_dropped_entries_total Number of log entries dropped because failed to be sent to the ingester after all retries.
# TYPE loki_write_dropped_entries_total counter
loki_write_dropped_entries_total{host="__HOST__", reason="ingester_error", tenant="tenant-default"} 0
Expand Down

0 comments on commit 351a091

Please sign in to comment.