-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* 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. Co-authored-by: Andrew Kroh <[email protected]>
- Loading branch information
1 parent
e2c06ff
commit 8535d87
Showing
6 changed files
with
220 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.