Skip to content

Commit

Permalink
Merge pull request #496 from Financial-Times/remove-graphite-healthch…
Browse files Browse the repository at this point in the history
…ecks

chore: Remove Graphite healthchecks
  • Loading branch information
GlynnPhillips authored Sep 5, 2024
2 parents a82f970 + 676cbd2 commit 7c8a766
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 93 deletions.
16 changes: 0 additions & 16 deletions health/archive-dl-error-spike.js

This file was deleted.

16 changes: 0 additions & 16 deletions health/article-dl-error-spike.js

This file was deleted.

17 changes: 0 additions & 17 deletions health/article-dl-no-data.js

This file was deleted.

19 changes: 0 additions & 19 deletions health/dl-error-spikes.js

This file was deleted.

17 changes: 0 additions & 17 deletions health/error-spikes.js

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ft-next-syndication-api",
"description": "Next Syndication API",
"version": "2.0.8",
"version": "2.0.9",
"private": true,
"dependencies": {
"@dotcom-reliability-kit/crash-handler": "^2.1.1",
Expand Down
3 changes: 1 addition & 2 deletions server/app-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ const app = module.exports = express({
withBackendAuthentication: false,
withFlags: true,
healthchecks: [
require('../health/dl-error-spikes'),
]// this healthcheck probably needs to be removed
]
});

const middleware = [
Expand Down
4 changes: 0 additions & 4 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const app = module.exports = express({
require('../health/db-backups'),
require('../health/db-sync-state'),
require('../health/sqs'),
require('../health/error-spikes'),
require('../health/article-dl-no-data'),
require('../health/article-dl-error-spike'),
require('../health/archive-dl-error-spike'),
],
errorRateHealthcheck: {
severity: 2
Expand Down

0 comments on commit 7c8a766

Please sign in to comment.