-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics: add count for number of upscale and downscale (#210)
Motivation ---------- Currently the wpa controlleur is only exposing a logs to inform of any upscale/downscale. It would be very useful to have a metric on upscale/downscale in order to be able to visualize them. see: https://github.com/DataDog/watermarkpodautoscaler/blob/9adcbcf5a9df4bb6b4370820dead417afa7c6932/controllers/watermarkpodautoscaler_controller.go#L379 Scope ------ Create two count metrics: - `watermarkpodautoscaler.wpa_controller_upscale_replicas_total`: count the number of upscale done - `watermarkpodautoscaler.wpa_controller_downscale_replicas_total`: count the number of down scale
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters