bcgov / WALLY

Search for data, reports and other information to support water allocation decision making.
Apache License 2.0
5 stars 2 forks source link

Fix Matomo deployment #757

Open sggerard opened 1 month ago

sggerard commented 1 month ago

Describe the Task See research ticket . Matomo is not currently running due to an image issue. Tracking page analytics is important for informing the product owner of the current usage of WALLY.

Expected Behaviour Matomo is running and tracking analytics.

Steps To Reproduce Steps to reproduce the behaviour:

  1. Go to Openshift
  2. Click on pods
  3. See that only the matomo-db pod is running
  4. Try scale up Matomo pod
  5. See crash due to image pull error

Additional Context

sggerard commented 1 month ago

Matomo pod is now running. The issue was the artifactory credentials had expired. I generated new credentials by deleting the artifacts-pull-default.* secret and letting it re-generate automatically, then copying it into every environment. I also re-tagged the matomo image stream to the newest tag.

https://matomo-d1b5d2-prod.apps.silver.devops.gov.bc.ca/ It appears Matomo was setup by Lindsay.Macfarlane, and there has been no data since September 2022. There is a secret with the admin credentials to login, we can generate additional user accounts.

For now it is probably best to leave this for a while to collect data, then to add additional tags etc as needed. Likely a seperate ticket

Keegnan commented 1 month ago

Create access for Mike Ward and Ann Matteson.

sggerard commented 1 month ago

Have installed and enabled location tracking using DBIP / GeoIP which is far more accurate.