bcgov / DITP-DevOps

Digital Identity and Trust Program Team's DevOps Documentation Repository
Apache License 2.0
2 stars 5 forks source link

Migrate application monitoring to the uptime.com team account #14

Closed WadeBarnes closed 1 year ago

WadeBarnes commented 1 year ago

Monitors to be Migrated

Name URL Monitor Type Alert When Keyword
Access to Court Materials (A2A) - Prod https://justice.gov.bc.ca/dars/pre-vc-auth/ Keyword Keyword Does Not Exist Access to Court Materials
Aries Mediator - Dev https://aries-mediator-agent-admin-dev.apps.silver.devops.gov.bc.ca/status/ready Keyword Keyword Does Not Exist "ready": true
Aries Mediator - Prod https://aries-mediator-agent-admin.vonx.io/status/ready Keyword Keyword Does Not Exist "ready": true
Aries Mediator - Test https://aries-mediator-agent-admin-test.apps.silver.devops.gov.bc.ca/status/ready Keyword Keyword Does Not Exist "ready": true
BCovrin - DEV http://dev.bcovrin.vonx.io/status/text Keyword Keyword Does Not Exist Unreachable_nodes_count: 0
BCovrin - Greenlight http://greenlight.bcovrin.vonx.io/status/text Keyword Keyword Does Not Exist Unreachable_nodes_count: 0
BCovrin - Greenlight DEV http://dev.greenlight.bcovrin.vonx.io/status/text Keyword Keyword Does Not Exist Unreachable_nodes_count: 0
BCovrin - PROD http://prod.bcovrin.vonx.io/status/text Keyword Keyword Does Not Exist Unreachable_nodes_count: 0
BCovrin - TEST http://test.bcovrin.vonx.io/status/text Keyword Keyword Does Not Exist Unreachable_nodes_count: 0
CANdy-Dev https://validator.candy.idlab.app/cdn/status?validators=1 Keyword Keyword Exist "alive": false
CANdy-Prod https://validator.candy.idlab.app/cpn/status?validators=1 Keyword Keyword Exist "alive": false
CANdy-Test https://validator.candy.idlab.app/ctn/status?validators=1 Keyword Keyword Exist "alive": false
Credential Verification - OrgBook-BC - Dev https://dev.orgbook.gov.bc.ca/api/credential/1/verify Keyword Keyword Does Not Exist "success": true
Credential Verification - OrgBook-BC - Prod https://orgbook.gov.bc.ca/api/credential/1/verify Keyword Keyword Does Not Exist "success": true
Credential Verification - OrgBook-BC - Test https://test.orgbook.gov.bc.ca/api/credential/1/verify Keyword Keyword Does Not Exist "success": true
Endorser Service - Dev https://aries-endorser-service-dev.apps.silver.devops.gov.bc.ca/ Keyword Keyword Does Not Exist {"status":"ok","health":"ok"}
Endorser Service - Prod https://aries-endorser-service.apps.silver.devops.gov.bc.ca Keyword Keyword Does Not Exist {"status":"ok","health":"ok"}
Endorser Service - Test https://aries-endorser-service-test.apps.silver.devops.gov.bc.ca/ Keyword Keyword Does Not Exist {"status":"ok","health":"ok"}
Endorser Service Agent - Dev https://aries-endorser-agent-admin-dev.apps.silver.devops.gov.bc.ca/status/ready Keyword Keyword Does Not Exist {"ready": true}
Endorser Service Agent - Prod https://aries-endorser-agent-admin.apps.silver.devops.gov.bc.ca/status/ready Keyword Keyword Does Not Exist {"ready": true}
Endorser Service Agent - Test https://aries-endorser-agent-admin-test.apps.silver.devops.gov.bc.ca/status/ready Keyword Keyword Does Not Exist {"ready": true}
IDIM Agent (dev) https://idim-agent-admin-dev.apps.silver.devops.gov.bc.ca/status/ready HTTP(S)
IDIM Agent (prod) https://idim-agent-admin.apps.silver.devops.gov.bc.ca/status/ready HTTP(S)
IDIM Agent (qa) https://idim-qa-agent-admin-test.apps.silver.devops.gov.bc.ca/status/ready HTTP(S)
IDIM Agent (sit) https://idim-sit-agent-admin-dev.apps.silver.devops.gov.bc.ca/status/ready HTTP(S)
Index Sync - OrgBook-BC - Prod https://orgbook.gov.bc.ca/api/quickload Keyword Keyword Exist "indexes_synced": false
OrgBook-BC - Dev https://dev.orgbook.gov.bc.ca/api/search/credential/topic/facets?name=BC0000621&page=1&issuer_id=&credential_type_id=&category:entity_type=&inactive=false Keyword Keyword Does Not Exist WESTMINSTER MASONIC HOLDING COMPANY
OrgBook-BC - Prod https://orgbook.gov.bc.ca/api/search/credential/topic/facets?name=eyecare%20international&page=1&issuer_id=&credential_type_id=&category:entity_type=&inactive=false Keyword Keyword Does Not Exist LENSERVER
OrgBook-BC - Test https://test.orgbook.gov.bc.ca/api/search/credential/topic/facets?name=BC0028724&page=1&issuer_id=&credential_type_id=&category:entity_type=&inactive=false Keyword Keyword Does Not Exist PACIFIC SALES LIMITED

Coordinate with @WadeBarnes on this.

WadeBarnes commented 1 year ago

I've added a number of checks (monitors) for the OrgBook prod site to get a feel for how to migrate the checks and notifications to uptime.com. I've also added a check for BCovrin - Test.

WadeBarnes commented 1 year ago

@rajpalc7, I've updated the ticket with the list of monitors to be added to the uptime.com account.

WadeBarnes commented 1 year ago

Reviewed checks. I renamed some of the OrgBook checks to better describe the check and to have them grouped better. Added checks for the OrgBook UI in dev and test.

WadeBarnes commented 1 year ago

Looking at the status pages, I'm thinking it's going to be difficult to manage separate dev, test, and prod status pages over time. Updating them and keeping them in sync looks like it could be error prone. I've also noticed that updating (renaming) the checks does not automatically update the entry on the status page. You have to enter the manage section of the status page and update the associated check for the component on the status page. You also have to update the component name.

WadeBarnes commented 1 year ago

@rajpalc7, please:

WadeBarnes commented 1 year ago

Next step will be developing a Rocket.Chat integration script.

WadeBarnes commented 1 year ago

The migration to Uptime.com is complete. We have a new set of RC alert channels and a new set of status pages for our apps.

The von-uptime and von-uptime-prod RC channels have been replaced with the ditp-uptime and ditp-uptime-prod RC channels.

The *.uptime.vonx.io status pages (https://uptime.vonx.io/ https://dev.uptime.vonx.io/ https://test.uptime.vonx.io/ and https://prod.uptime.vonx.io/) have been replaced with the https://ditp.uptime.vonx.io/ and https://ditp.sla.vonx.io/ status pages, and they redirect to the new https://ditp.uptime.vonx.io/ status page.