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

Fix loki_discarded_samples_total metric #1279

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Nov 18, 2019

loki_discarded_samples_total is supposed to be the count of samples that were discarded, but was instead being reported as the total bytes discarded. The metric has been fixed and a new metric, loki_discarded_bytes_total, has been added to report the total discarded bytes.

Fixes #1255.

loki_discarded_samples_total is supposed to be the count of samples that
were discarded, but was instead being reported as the total bytes
discarded. The metric has been fixed and a new metric,
loki_discarded_bytes_total, has been added to report the total discarded
bytes.

Fixes grafana#1255.
Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rfratto rfratto merged commit a5765b5 into grafana:master Nov 20, 2019
@rfratto rfratto deleted the fix-discarded-samples-total-metric branch November 20, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metric loki_discarded_samples_total is actually bytes
3 participants