Unicron cla stats from logs prod#4881
Conversation
…og entry in AWS logs Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Łukasz Gryglicki <lgryglicki@cncf.io>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Łukasz Gryglicki <lgryglicki@cncf.io>
…logs Update logs grepping scripts and add a script to find the first API log entry in AWS logs
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates AWS log grepping scripts for the production environment and introduces a new utility script to find the first API log entry in AWS CloudWatch logs. The changes enhance log analysis capabilities by filtering specific log groups and improving output formatting.
- Added new
find_1st_log_entry.shscript to retrieve the first API request timestamp from multiple AWS Lambda log groups - Updated
calculate_api_stats.shto explicitly filter log groups usingINCL_LOGSenvironment variable for more targeted API statistics - Added log group name output to help identify which logs are being processed
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
utils/find_1st_log_entry.sh |
New script that queries multiple AWS Lambda log groups to find the first API request log entry timestamp across different regions |
utils/calculate_api_stats.sh |
Modified to use INCL_LOGS parameter for filtering specific log groups in each region and added log group name output for better visibility |
Update logs grepping scripts and add a script to find the first API log entry in AWS logs
prodversion of #4880cc @mlehotskylf @ahmedomosanya
Signed-off-by: Lukasz Gryglicki lgryglicki@cncf.io
Assisted by OpenAI
Assisted by GitHub Copilot