From d81f6519aadd0a19a1245bc8269c90f94fe49f93 Mon Sep 17 00:00:00 2001 From: Filip Seman Date: Sat, 9 Nov 2024 12:00:47 +0100 Subject: [PATCH] docs: update diagram --- README.md | 2 +- docs/visual.drawio | 68 ---------------------------------------------- docs/visual.svg | 22 ++++++++++++++- 3 files changed, 22 insertions(+), 70 deletions(-) delete mode 100644 docs/visual.drawio diff --git a/README.md b/README.md index 974e99a..6610ed6 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This module provides a custom appender for [log4js][log4js_github] that sends logs to AWS [CloudWatch][aws_cloudwatch] using the AWS [v3 SDK][cloudwatch_sdk]. -![visual](docs/visual.svg) +visual [aws_cloudwatch]: https://aws.amazon.com/cloudwatch/ [cloudwatch_sdk]: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/ diff --git a/docs/visual.drawio b/docs/visual.drawio deleted file mode 100644 index 001dcdc..0000000 --- a/docs/visual.drawio +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/visual.svg b/docs/visual.svg index 02da961..8e17348 100644 --- a/docs/visual.svg +++ b/docs/visual.svg @@ -1 +1,21 @@ -
Push to AWS
Push to AWS
AWS Cloudwatch SDK
AWS Cloudwatch SDK
log4js
log4js
cloudwatch.putLogEvents()
cloudwatch.putLogEvents()
log4js.configure()
log4js.configure()
capture log-event
capture log-event
log4js-appender-cloudwatch
log4js-appender-cloudwatch
log-event
log-event
app
app
Aggregate and push logs within limits.
Aggregate and push logs within limits.
LogBuffer
LogBuffer
Text is not SVG - cannot display
\ No newline at end of file + + + eyJ2ZXJzaW9uIjoiMSIsImVuY29kaW5nIjoiYnN0cmluZyIsImNvbXByZXNzZWQiOnRydWUsImVuY29kZWQiOiJ4nO1cXGdv20pcdTAwMTb9nl9h+H19mje9XHUwMDA0WCxcXGM7cY/rvkVAS5Qs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e78pzG0lx1MDAxMkM2rFx1MDAxNGNcdTAwMTTpXHUwMDFmxTjkNrPAryHO/GooMlx1MDAwMMe0fNG5g+mrgEJcdTAwMTPpkJxcIlxyRNrDVPKoYTRVSFx1MDAwM5WWlPullmQ6eVx1MDAxOEpxXHUwMDFi91Mpb1x1MDAxMkqfffTgwT9q+7pteu3rWmV3r9rfcF+b0VpvvFx1MDAwMFx1MDAxYuicRH/9Oa3Zt9V1SuDzhPg/XHUwMDE1jJNyoLTT5XHItE+37OySZno3P1x0hvmJ5zeEoVx1MDAwNL9cdKSCyHSklk7nJI1USO39YX2AVEv1hqfQrYRg9SFcdTAwMTdcdTAwMDJcbtoptbw7bbu0QVx1MDAxMuSnbX7poYan+uq4XHUwMDFjZPbt0kGnXHUwMDAz4k0nXHUwMDE3r3qyoYBN8vnIqDVvebyB0Sl/ZMVaeKhcdTAwMTJ8dsiufFpZXHUwMDBiT7qNbmvNfduXq5WNz3vX886cPlx1MDAwYvGTi4P9MYBm7nSDVcT5P1x1MDAxYqQ9oWnxdrQp/JS6cZpJrrJ/pShhzZGZXHUwMDBiZUCxYPNferxBU5pa23trvJZcdTAwMTbiejNs9+OFi7Da7oZcdTAwMGK9cJBcYvzdKi1cXPhcdTAwMDRcdTAwMWU/L+wsRO1aL1fj556KeFxyO2fCvnxIXHK9XG5cdTAwMTiMko8hhzHGaCh+4Fx1MDAxNPXKY0cnNi9e18Ob5TFza4+rsVx1MDAxZlx1MDAxZeOJx204UFLfP3z/XHUwMDFmXHJzeqgifQ== + + + + + logloglog...AmazonCloudWatchappender- timeout before sending- batching N logs before sending \ No newline at end of file