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

update the hour-cap condition to collect if delay is 1 hr or greater #374

Merged

Conversation

rakhimundhada15
Copy link
Contributor

Problem Description

The Cisco collector uses an hourly cap to catch up on backlog data. However, it only allows one call per minute, so it will never be able to catch up to the current time. This can add a delay of more than 2 hours when the delay condition (hour delay > 1) is met. Customers do not want delays in data collection.

Solution Description

Added an equals condition so that it will collect data for one hour directly if the delay goes to more than or equal to 1 hour. This will reduce the delay to a maximum of 1 hour.

@al-cibot
Copy link

al-cibot commented Jul 2, 2024

CI Service Job Number 1014 Logs - SUCCESS

alps ci job-logs --organization alertlogic --repository paws-collector --job-num 1014 -g

Stages Run:

  • PR Test

@rakhimundhada15 rakhimundhada15 merged commit ec057ab into alertlogic:master Jul 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants