Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Ignore hosts based on when they were last seen #271

Merged
merged 3 commits into from
Jun 8, 2020
Merged

Conversation

lrgar
Copy link
Contributor

@lrgar lrgar commented Jun 5, 2020

Looks like my fix on #257 brought some issues. In particular, the OneAgent version is removed from the host entry shortly after the OneAgent stops running, so if the Marked for Termination event is sent afterwards we may end up ignoring the correct host.

This PR changes the logic to ignore hosts that haven't seen on the last 30 minutes on the Dynatrace API which should also solve the original problem.

@lrgar lrgar requested a review from DTMad June 5, 2020 11:49
@lrgar lrgar merged commit 165f55a into master Jun 8, 2020
@lrgar lrgar deleted the bugfix/ign-hosts branch June 8, 2020 05:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants