claranet / terraform-signalfx-detectors

Collection of terraform modules for SignalFx detectors.
Mozilla Public License 2.0
23 stars 32 forks source link

Heartbeat fixes and improvments for running vm #557

Closed haedri closed 5 months ago

haedri commented 6 months ago

In order to support ephemeral infrastructures a filter was added to exclude stopping and stopped VMs The filter needs at least 25 minutes for vm state to be available, so a maxDelay of 15m was added on top of the 10m of lasting

Problem is this maxDelay is confusing and might not be enough if data is really delayed, so moving to a lasting of 25m (and reverting maxDelay to auto) should help a lot. Furthermore a variable heartbeat_exclude_not_running_vm is added in order to switch off the filtering if not needed.