Skip to content

Commit

Permalink
only size AGI if plugin or aerospike is down, not ingest
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Sep 6, 2024
1 parent f8c7728 commit 1d176c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cmdAgiMonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,10 @@ func (c *agiMonitorListenCmd) handleCheckSizing(w http.ResponseWriter, r *http.R
performRamSizing := func() (performRamSizing bool) {
switch event.Event {
case AgiEventServiceDown:
if event.IngestStatus.AerospikeRunning && event.IngestStatus.PluginRunning {
// ingest or grafana helper is down, do NOT size; only Plugin and Aerospike crashes should be sized
return
}
if event.IsDataInMemory && c.SizingNoDIMFirst {
disableDim = true
} else {
Expand Down

0 comments on commit 1d176c9

Please sign in to comment.