We want to track some more things in Grafana. At least:
- Total time for a constraint check on an entity (currently we only track time for individual checks).
- Log item id for checks that run longer than 2 minutes (config variable)
- Total number of (uncached) constraint checks?
- Runtime of PHP type check vs. SPARQL type check, to assess whether the current trade-off between them makes sense
Code to look at: