Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOPS-488: deprecate pingdom check #135

Merged
merged 1 commit into from
Nov 2, 2020
Merged

NOPS-488: deprecate pingdom check #135

merged 1 commit into from
Nov 2, 2020

Conversation

apaleslimghost
Copy link
Member

@apaleslimghost apaleslimghost commented Nov 2, 2020

https://financialtimes.atlassian.net/browse/NOPS-488

  • don't actually call pingdom
  • always return ok: false
  • output a deprecation message

i've gone down this route rather than removing the check wholesale so it alerts instead of crashing the app. we can remove it entirely in a future major release.

- don't actually call pingdom
- always return ok:false
- output a deprecation message
@apaleslimghost apaleslimghost requested a review from a team as a code owner November 2, 2020 13:04
@apaleslimghost apaleslimghost changed the title deprecate pingdom check NOPS-488: deprecate pingdom check Nov 2, 2020
this.checkOutput = `Failed to get status: ${err.message}`;
}
this.status = status.FAILED;
this.checkOutput = 'Pingdom checks are deprecated and will be removed in a future version of n-health. Remove this check from your healthcheck config, and tag your checks with your system code in Pingdom so they can be monitored. See https://tech.in.ft.com/guides/monitoring/how-to-pingdom-check for more information.';
Copy link
Contributor

Choose a reason for hiding this comment

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

Looove this!

@apaleslimghost apaleslimghost merged commit 8563170 into master Nov 2, 2020
@apaleslimghost apaleslimghost deleted the remove-pingdom branch November 2, 2020 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants