-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[7.x](backport #25711) [Filebeat] Instrument aws-s3 with metrics #25747
Conversation
This pull request doesn't have a |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
This pull request is now in conflicts. Could you fix it? 🙏
|
@Mergifyio rebase |
1353bf3
to
9fcf456
Compare
Command
|
This pull request is now in conflicts. Could you fix it? 🙏
|
* Instrument aws-s3 with metrics Diagnosing performance issues with the aws-s3 input is difficult so this instruments it with some metrics to make this easier. These are the metrics that are added. - Number of SQS messages received (not necessarily processed fully). - Number of SQS visibility timeout extensions. - Number of SQS messages inflight (gauge). - Number of SQS message returned to queue (happens on errors implicitly after visibility timeout passes). - Number of SQS messages deleted. - Histogram of the elapsed SQS processing times in nanoseconds (time of receipt to time of delete/return). - Number of S3 objects downloaded. - Number of S3 bytes processed. - Number of events created from processing S3 data. - Number of S3 objects inflight (gauge). - Histogram of the elapsed S3 object processing times in nanoseconds (start of download to completion of parsing). The metrics are structured as: dataset.<input-id>: id=<input id> input=aws-s3 sqs_messages_received_total sqs_visibility_timeout_extensions_total sqs_messages_inflight_gauge sqs_messages_returned_total sqs_messages_deleted_total sqs_message_processing_time.histogram s3_objects_requested_total s3_bytes_processed_total s3_events_created_total s3_objects_inflight_gauge s3_object_processing_time.histogram The v2 input logger was updated to include the input ID to make correlation with metrics possible when an explicit `id` is not set in the input config.
9fcf456
to
8e77ca7
Compare
This is an automatic backport of pull request #25711 done by Mergify.
Cherry-pick of d3a03b0 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.io/