kruize / autotune

Autonomous Performance Tuning for Kubernetes!
Apache License 2.0
152 stars 52 forks source link

Add cloudwatch LogAppender #1159

Closed kusumachalasani closed 3 months ago

kusumachalasani commented 3 months ago

Create a cloudwatch logAppender to send logs to cloudwatch if access and secret keys are shared through the config. AWS details are passed as part of dbconfig. "logging": { "cloudwatch": { "accessKeyId": "", "logGroup": "", "region": "", "secretAccessKey": "" }, "type": "null" }

msvinaykumar commented 3 months ago

@kusumachalasani "I'll submit another pull request to enable logging of all requests and responses at the debug level. For a temporary period until the resolution of https://issues.redhat.com/browse/KRUIZE-95, we'll configure Cloudwatcher to log at the debug level, and pod logs at the info level. Afterward, both Cloudwatcher and pod logs should revert to the info level.