Skip to content

Releases: Financial-Times/n-health

deprecate Pingdom healthcheck

02 Nov 17:00
8563170
Compare
Choose a tag to compare

the current standard way of monitoring Pingdom checks is to tag them in Pingdom with your system code. having a separate way of monitoring Pingdom for FT.com apps is redundant, more to maintain, and brittle (because it requires every app to have a Pingdom API key in its environment, which isn't visible if the key is rotated, as happened in a recent incident).

this change removes the code that's actually checking Pingdom, and makes the Pingdom healthcheck class always fail, so that apps that inadvertently update to this version without migrating the check don't crash on startup, but instead get an alert that they can easily action.

this check will be fully removed in the next major version of n-health, which will be released when enough apps have updated to this version and migrated their checks.

migration

when updating to this release, if you're using any Pingdom healthchecks, they'll start to unconditionally fail. you'll need to:

  1. remove these checks from your healthcheck configuration
  2. update the checks themselves in Pingdom to tag them with your system code (see step 8 in the "How To Pingdom Check" guide)

note that if you're using healthchecks to monitor other teams' systems, you'll inherit the severity they've set for their own Pingdom checks. we recommend duplicating this check for your own visibility, so you can set the severity and tagging for yourself, or writing a custom healthcheck to make calls similar to those your app is making.

v4.0.0: Upgrade to Node v12

02 Oct 14:00
20595a8
Compare
Choose a tag to compare
Merge pull request #129 from Financial-Times/upgrade-to-node-12

Upgrade to Node v12

Add support for check ID

04 Mar 13:30
310b1f9
Compare
Choose a tag to compare

Display details in spike check messages

04 Jun 13:52
4e29ce7
Compare
Choose a tag to compare

Refactor, redocument, refresh

25 Feb 11:13
ce34059
Compare
Choose a tag to compare
  • graphite healthchecks are no longer next-specific
  • removed memory check that hasn't been usable since 2016
  • improve documentation and fully explain how to use in an app (n-express or vanilla)
  • refactor to use async/await

Remove keen healthchecks

05 Dec 12:29
312f6b6
Compare
Choose a tag to compare

All the usages have been removed, so this is no longer breaking.

Updates 'graphiteWorkingCheck' to look at timestamp

29 Nov 09:18
4a3ec77
Compare
Choose a tag to compare

This release alters the behaviour of graphiteWorkingCheck to look at timestamps rather than just the number of datapoint since the last non-null value.

WARNING: This will expose broken metrics that would otherwise show false positives, such as metrics using the summarise() function.

Upgrade to the new Graphite system

02 Oct 12:18
c475af5
Compare
Choose a tag to compare
Merge pull request #101 from Financial-Times/graphite-migration

Point Graphite checks at the new system

Fix nulls test in graphiteThreshold

18 Jul 14:21
9adde27
Compare
Choose a tag to compare

Now nulls are ignored in graphiteThreshold – use graphiteWorking for that.

Adding graphiteSumThreshold

11 Jul 15:57
8cdb233
Compare
Choose a tag to compare

This check sums all the values in the results and runs against a defined threshold