humanmade / humanmade/altis-cloud

Cavalcade Log delivery to cloudwatch fails if events span more than 24 hours

Open
#603 7 comments 0 reactions 0 assignees View on GitHub
must have
Dominant language
PHP
Stars
9
Forks
2
Avg merge
6d 1h
Merged PRs (30d)
23

Description

During the Cavalcade healthcheck background task the following error can occur:

```
The batch of log events in a single PutLogEvents request cannot span more than 24 hours
```

The logger should process and chunk the delivery of logs into 24 hours batches based on log timestamp.

(as per Rob's [comment](https://app.zenhub.com/workspaces/vulcan-6284e0dfb386b00c83981426/issues/gh/humanmade/altis-cloud/603#issuecomment-1298760447))

## Acceptance criteria

- [ ] Reproduce the issue
- [ ] bump to v2.0.4 https://github.com/humanmade/altis-cloud/blob/dece03b1f6c2fc0c45c4f83ea1e95f453837a929/composer.json#L41
- [ ] Check if the issue is still presented
- [ ] Generate a new ticket with new improvements of the system given that the limits are gone

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.