Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ingester: remove unused loki_ingester_sent_chunks metric #817

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions pkg/ingester/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ import (
)

var (
sentChunks = promauto.NewCounter(prometheus.CounterOpts{
Name: "loki_ingester_sent_chunks",
Help: "The total number of chunks sent by this ingester whilst leaving.",
})
receivedChunks = promauto.NewCounter(prometheus.CounterOpts{
Name: "loki_ingester_received_chunks",
Help: "The total number of chunks received by this ingester whilst joining.",
Expand Down Expand Up @@ -200,8 +196,6 @@ func (i *Ingester) transferOut(ctx context.Context) error {
level.Error(util.Logger).Log("msg", "failed sending stream's chunks to ingester", "to_ingester", targetIngester.Addr, "err", err)
return err
}

sentChunks.Add(float64(len(chunks)))
}
}

Expand Down