User Details
- User Since
- Nov 25 2014, 1:54 PM (576 w, 1 d)
- Availability
- Available
- IRC Nick
- Jeff_Green
- LDAP User
- Jgreen
- MediaWiki User
- Jgreen (wmf) [ Global Accounts ]
Yesterday
Tue, Dec 9
Wed, Dec 3
Mon, Dec 1
Tue, Nov 25
Mon, Nov 24
There are two tables in the metabase mariadb database that could be useful:
MariaDB [metabase]> desc login_history; +--------------------+--------------+------+-----+----------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------+--------------+------+-----+----------------------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | timestamp | timestamp(6) | NO | MUL | current_timestamp(6) | | | user_id | int(11) | NO | MUL | NULL | | | session_id | varchar(254) | YES | MUL | NULL | | | device_id | char(36) | NO | | NULL | | | device_description | longtext | YES | | NULL | | | ip_address | longtext | YES | | NULL | | +--------------------+--------------+------+-----+----------------------+----------------+
Wed, Nov 12
Nov 6 2025
Oct 22 2025
I think we're close to being able to get this from prometheus based on the metric "logged_payments". This is a counter collected from logs on one-minute intervals and sub-categorized by several labels. The labels are my best guess of how we'd want things categorized, and probably need refinement.
Oct 21 2025
Oct 17 2025
Oct 15 2025
These are pretty rare so it took a while to catch anything, but the prometheus collector is working now.
Oct 14 2025
Ok, I'm reopening this so I don't forget.
@Eileenmcnaughton I haven't changed anything yet, for now users should only be able to read from the live replica smashpig. Yeah dev_smashpig is probably ancient.
Ok, fixed I think. The issue was that the view was created with DEFINER=civicrm@10.64.40.% and user civicrm was missing select access on the target table.
The create view syntax is the same for the view in civicrm vs dev_civicrm, so I think it's probably a permissions issue, looking at that now.
Oct 8 2025
Oct 7 2025
This seems to have cleared up around 9:20 on 2025-09-30, nothing significant in the logs after that. I don't see anything in the logs, server admin logs, etc that would explain the resolution or cause.
Oct 6 2025
@Ejegg, is this something we want to alert about or just make it graphable?
Closing b/c I think we're close enough, although we aren't alerting for HMS outages directly we'll know quickly if there is an outage because trino will complain.
Could we get the info we need from the API side? Looking at this https://civicrm.org/extensions/api-rest-log -- As long as the login method is to request a link, I think the request would go app -> portal->civiproxy->api and the event could be loggable into DB from the API side.
Oct 2 2025
I noticed the regex that was supposed to catch these wasn't quite right, hopefully fixed now.
Sep 29 2025
Trino has been stable after the last upgrade and tuning limits on the client side, a restarter service doesn't seem needed anymore.
Sep 26 2025
Sep 25 2025
AFAICT this is done
The issue was caused by a missing s3.region setting.
Sep 24 2025
Sep 23 2025
Workaround is committed and will apply next time we rebuild the venv.
