metrics: Make metrics actually usable #104
No reviewers
Labels
No labels
help wanted
question
Subsystem/Backend
Subsystem/Frontend
Subsystem/Mail
Kind
Breaking
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
c3lf/c3lf-system-3!104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lagertonne/more-metrics-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Somehow, the metrics weren't actually updated when using the workaround with the command. I guess something is going on with django-prometheus and the prometheus_client module.
This fix has another approach: The gauge is now updated on every request. This could potentially be a performance issue, but count-commands should be fast enough from the db side, and we limit who can access the endpoint.
Also, it counts all the objects.
WIP: metrics: Make metrics actually usableto metrics: Make metrics actually usable2e4629d45ec3395093c7c3395093c77add159d237add159d23e43845b7dce43845b7dccf14a029bbIf the test run through, this should be merge-able.