Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Add scaling event state management to track event details. #28

Merged
merged 4 commits into from
Aug 29, 2019
Merged

Conversation

jrasell
Copy link
Owner

@jrasell jrasell commented Aug 28, 2019

Previously the only way to understand what scaling events had been
triggered was to check the Sherpa server logs. This is not ideal
for operators and results in an incomplete picture. This change
adds scaling event state storage, allowing for operators to list
and view scaling events that have been triggered.

The Consul path CLI parameter has been changed to reflect the fact
it now relates to both policies and state. The change doesn't break
existing installs though.

Closes #26

Previously the only way to understand what scaling events had been
triggered was to check the Sherpa server logs. This is not ideal
for operators and results in an incomplete picture. This change
adds scaling event state storage, allowing for operators to list
and view scaling events that have been triggered.

The Consul path CLI parameter has been changed to reflect the fact
it now relates to both policies and state. The change doesn't break
existing installs though.

Closes #26
@jrasell jrasell added area/scaling Issues related to scaling kind/enhancement Issues relating to enhancements area/cli Issues related to the CLI area/api Issues related to the API labels Aug 28, 2019
@jrasell jrasell self-assigned this Aug 28, 2019
Copy link
Contributor

@pmcatominey pmcatominey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks grand!

pkg/policy/backend/consul/consul.go Outdated Show resolved Hide resolved
pkg/state/scale/consul/consul.go Outdated Show resolved Hide resolved
pkg/state/scale/consul/consul.go Show resolved Hide resolved
@jrasell jrasell merged commit 39ccd30 into master Aug 29, 2019
@jrasell jrasell deleted the gh-26 branch August 29, 2019 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/api Issues related to the API area/cli Issues related to the CLI area/scaling Issues related to scaling kind/enhancement Issues relating to enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Track scaling activities and retain for time period
2 participants