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 throttling metrics #227

Merged
merged 3 commits into from
Aug 9, 2024
Merged

Conversation

Athishpranav2003
Copy link
Contributor

Issues this PR solves

#190

Why is this PR needed?

Add observability on throttling in in_tail plugin
fluent/fluentd#4578 - corresponding metrics PR in in_tail

@Athishpranav2003
Copy link
Contributor Author

Athishpranav2003 commented Aug 7, 2024

@ashie this is dependent on fluent/fluentd#4578

Like the above PR is merged, but whoever didn't update Fluentd will have error if they use this code (since the metrics reference is dangling).

What's your suggestion for it?

@ashie
Copy link
Member

ashie commented Aug 8, 2024

Like the above PR is merged, but whoever didn't update Fluentd will have error if they use this code (since the metrics reference is dangling).

What's your suggestion for it?

Please check existence of monitor_info.throttled.
FYI: https://github.com/fluent/fluent-plugin-prometheus/pull/202/files#r964327028

Signed-off-by: Athish Pranav D <[email protected]>
@Athishpranav2003
Copy link
Contributor Author

@ashie I will add the manual testing info once i get time

@Athishpranav2003
Copy link
Contributor Author

Athishpranav2003 commented Aug 8, 2024

image
output

@Athishpranav2003
Copy link
Contributor Author

@ashie any other checks do you want me to do?

@ashie ashie merged commit c031f8f into fluent:master Aug 9, 2024
6 checks passed
@ashie
Copy link
Member

ashie commented Aug 9, 2024

Thanks!

@Athishpranav2003 Athishpranav2003 deleted the add-throttling-metrics branch August 9, 2024 01:53
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.

2 participants