This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Update Pingdom health check Database, Redis and Celery #871
Merged
marijnkampf
merged 12 commits into
migration-deploy
from
migration/DPM-189-enquiry-management-health-check
Mar 28, 2024
Merged
Update Pingdom health check Database, Redis and Celery #871
marijnkampf
merged 12 commits into
migration-deploy
from
migration/DPM-189-enquiry-management-health-check
Mar 28, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marijnkampf
changed the title
WIP: Pingdom health check Database, Redis and Celery
Update Pingdom health check Database, Redis and Celery
Mar 27, 2024
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #871 +/- ##
==========================================
- Coverage 69.58% 69.07% -0.51%
==========================================
Files 60 61 +1
Lines 1979 2018 +39
==========================================
+ Hits 1377 1394 +17
- Misses 602 624 +22 ☔ View full report in Codecov by Sentry. |
elcct
approved these changes
Mar 28, 2024
marijnkampf
deleted the
migration/DPM-189-enquiry-management-health-check
branch
March 28, 2024 13:58
marijnkampf
added a commit
that referenced
this pull request
Apr 16, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
marijnkampf
added a commit
that referenced
this pull request
Apr 22, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
marijnkampf
added a commit
that referenced
this pull request
Apr 23, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
marijnkampf
added a commit
that referenced
this pull request
Apr 23, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
marijnkampf
added a commit
that referenced
this pull request
May 8, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
cgsunkel
pushed a commit
that referenced
this pull request
Jun 25, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
cgsunkel
pushed a commit
that referenced
this pull request
Jul 15, 2024
* Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database.
cgsunkel
added a commit
that referenced
this pull request
Jul 15, 2024
* update codeowners * Add sample rate to sentry (#981) * Add sample_rate to sentry setup * Add new action for govpaas branch * Bump django from 4.2.13 to 4.2.14 (#982) Bumps [django](https://github.com/django/django) from 4.2.13 to 4.2.14. - [Commits](django/django@4.2.13...4.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add new fields to sentry config (#983) * Remove migration actions (#984) * Update Pingdom health check Database, Redis and Celery (#871) * Change health check end point to /pingdom/ping.xml. * Extend health check to include Celery and Redis in addition to Database. * DPM 202 asim formatter logging (#893) * Use ASIM formatter for logging on production environments * Upgrade Python version in Docker * add build config file * allow for running on gov.uk paas and dbt platform * allow any python 3.12 version * allow nodejs buildpack to be included * set nodejs version to 20.11 * add collect static command to build * do not use sentry when dsn unset * add required variables for local build * DPM 623 Update DB connection environment variable (#915) * Update database connection environment variable to use DATABASE_CREDENTIALS * Update image_build for packaging. Co-Authored-By: Kuds <kudrotey.khuda@digital.trade.gov.uk> * Add extra env vars to image build. * Adding Env vars Co-Authored-By: Kuds <kudrotey.khuda@digital.trade.gov.uk> * Update env vars <yusuf.sheikh@digital.trade.gov.uk> * Adding Env vars * Added more env vars * More Env vars * More Env Vars * Remove Duplicate Env Var * Added extra env var * fix: remove unnecessary start from package.json * Update image_build_run.sh to include all env vars * Add setuptools to requirements.txt * fix: try downgrade of python * Reset migration for staging deploy * Apply admin migration before enquiry (#933) * Revert migration script changes (#941) * Remove celery check from pingdom (#944) * Remove celery check from pingdom * Remove celery pingdom checks * fix: always call collectstatic Co-Authored-By: Paul <paul.wheatcroft@digital.trade.gov.uk> * Add saas compilation to image build script * fix: update celery timezone * chore: update default timezone --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Christopher <christopher.sunkel@digital.trade.gov.uk> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marijn Kampf <marijn.kampf@digital.trade.gov.uk> Co-authored-by: Lawrence Goldstien <lawrence.goldstein@digital.trade.gov.uk> Co-authored-by: markwarriner <mark.warriner@digital.trade.gov.uk>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
Update the health check end point from
ping.xml
topingdom/ping.xml
Extend health check to include Redis and Celery in addition to Database.
Test instructions
Visiting
pingdom/ping.xml
should display OK xml document with status code 200.When database / redis and/or celery are down it should display error message and return status code 500.