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

Add additional metrics for total bytes/lines processed #27

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

chaudum
Copy link
Collaborator

@chaudum chaudum commented Feb 8, 2022

The response from Loki instant and range queries also contain statistics
about the total amount of bytes and lines processed by the request.
This commit exposes this data as custom k6 metrics
loki_bytes_processed_total and loki_lines_processed_total.

This helps to analyze and understand the amount of data processed during
a load test.

Signed-off-by: Christian Haudum christian.haudum@gmail.com

The response from Loki instant and range queries also contain statistics
about the total amount of bytes and lines processed by the request.
This commit exposes this data as custom k6 metrics
`loki_bytes_processed_total` and `loki_lines_processed_total`.

This helps to analyze and understand the amount of data processed during
a load test.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Copy link
Contributor

@vlad-diachenko vlad-diachenko left a comment

Choose a reason for hiding this comment

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

LGTM

@vlad-diachenko vlad-diachenko merged commit 217a587 into main Feb 8, 2022
@vlad-diachenko vlad-diachenko deleted the chaudum/additional-metrics branch February 8, 2022 21:34
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.

None yet

2 participants