Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curious about the CWAlerm threshold for kinesis. #663

Closed
watany-dev opened this issue Apr 10, 2022 · 4 comments · Fixed by #813
Closed

curious about the CWAlerm threshold for kinesis. #663

watany-dev opened this issue Apr 10, 2022 · 4 comments · Fixed by #813
Assignees
Labels
bug Something isn't working needs-triage The issue or PR still needs to be triaged

Comments

@watany-dev
Copy link

threshold: 2592000, // 12 Hours (50% of 24 hours - default record retention period)

Question about this place.
The threshold is 2592000, but isn't what this number represents 30 days to the second? I didn't understand it when I actually made it.
I believe the 12 hours in the comment refers to 43,200 seconds!

Reproduction Steps

cdk deploy

Error Log

no.

Environment

  • CDK CLI Version :2.20
  • CDK Framework Version:2.20
  • AWS Solutions Constructs Version :2.05
  • OS :Amazonlinux2
  • Language :Typescript

This is 🐛 Bug Report

@watany-dev watany-dev added bug Something isn't working needs-triage The issue or PR still needs to be triaged labels Apr 10, 2022
@biffgaut
Copy link
Contributor

This certainly looks like an error. We'll discuss it as a team and look at addressing it. Thanks.

@biffgaut
Copy link
Contributor

Fixed in PR #667, will be released in 1.153.0 and 2.6.0

@Benjscho
Copy link

Asking for clarity here, isn't the metric in Milliseconds, not seconds? (GetRecords.IteratorAgeMilliseconds)

Not sure how the original threshold number was arrived at, but as it stands it seems like the threshold should be increased by 10^3

@biffgaut biffgaut reopened this Sep 21, 2022
@biffgaut
Copy link
Contributor

It sure looks like you are correct - we'll look a little closer and update accordingly unless other info comes to light. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage The issue or PR still needs to be triaged
Projects
None yet
4 participants