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

hpa request continues monitoring via foremast-brain #114

Open
pzou1974 opened this issue Mar 25, 2019 · 3 comments
Open

hpa request continues monitoring via foremast-brain #114

pzou1974 opened this issue Mar 25, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request foremast-brain refer to foremast-brain component foremast-service refer to foremast-service component size: 5 sprint19-7

Comments

@pzou1974
Copy link
Contributor

foremast-brain need to continuous check the request until it gets disabled

@pzou1974 pzou1974 added enhancement New feature or request foremast-brain refer to foremast-brain component sprint19-7 labels Mar 25, 2019
@pzou1974
Copy link
Contributor Author

How to make changes:

  1. Add timestamp for the historical cache. if current time - cached timestamp > 30 minutes (drive by config) then clear the cache
  2. Current metrics --- always start from X minutes (Configurable) before the current time.

Please make sure change (2) with strategy with HPA

@pzou1974
Copy link
Contributor Author

  1. requires golang foremast service change.
    Current and Historical metrics : Need to make start_time and end_time substitute by current real-time starttime and endtime. Please make sure it needs to cover both Prometheus and Wavefront. HPA only by now.
    For non-hpa strategy you only need to make end time substitutable.

@pzou1974
Copy link
Contributor Author

Note. Historical metric endtime can be current time - 3 minutes while cache TTL expired. start time is endtime - 7 days. Please make 7 days by config.

@pzou1974 pzou1974 added size: 5 foremast-service refer to foremast-service component labels Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request foremast-brain refer to foremast-brain component foremast-service refer to foremast-service component size: 5 sprint19-7
Projects
None yet
Development

No branches or pull requests

2 participants