Last updated: 10 Jan 2022
Monitor data.gov.uk
Pingdom
Pingdom monitors https://data.gov.uk
uptime and alerts PagerDuty when downtime is detected. Maintenace of this service forms part of #govuk-2nd-line
.
Sentry
Sentry monitors application errors. The Sentry pages for each app can be found on the Find and Publish app pages.
Log.it
Each application sends logs to Logit. Publish and Find use the corresponding PaaS Service. Example query: source_host: "gds-data-gov-uk.data-gov-uk.find-data-beta" && access.response_code: 500
.
Sidekiq (Publish)
You can monitor the number of jobs in each queue using the following.
First, follow the instructions on logging into the paas
cf ssh publish-data-beta-production-worker
/tmp/lifecycle/launcher /home/vcap/app 'rails console' ''
>>> Sidekiq::Queue.new.each_with_object(Hash.new(0)) {|j, h| h[j.klass] += 1 }
Analytics
Google Analytics records traffic for Find. Ask for ‘read’ access to all ‘properties’ in your request.