phpnexus / cwh

Amazon Web Services CloudWatch Logs Handler for Monolog library
MIT License
22 stars 1 forks source link

Outdated docs #3

Open aromka opened 3 months ago

aromka commented 3 months ago
AWS have a default quota of [5 requests per second](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html) for both DescribeLogGroups and DescribeLogStreams per region per account, which will become a bottleneck even in medium traffic environments.

Just FYI - this has been increased:

DescribeLogGroups is now 10 tps and DescribeLogStreams is now 25 tps.

On the other topic, any plans to use putLogEventsAsync instead of putLogEvents when creation of log groups and log streams are disabled to minimize latency? I know there is also https://async-aws.com/clients/cloud-watch-logs.html but seems outdated as well and not functioning that well.

markinjapan commented 3 months ago

@aromka Thanks for the heads up. I'll update the documentation in a patch version.

Regarding the putLogEventsAsync method, it does sound useful, but I can't seem to find much documentation about it (besides reading the SDK code).

When I get some time in the coming weeks, I'll look at introducing it initially as an experimental opt-in feature.