Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prometheus collector for meetings #606

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Add prometheus collector for meetings #606

merged 2 commits into from
Nov 9, 2024

Conversation

AaronJackson
Copy link
Member

@AaronJackson AaronJackson commented Oct 31, 2024

Thinking live dashboard in the hour running up to the meeting.

Might make sense to switch to findNext() instead of paginateAll but it would be nice to back fill previous AGMs. Happy to make a separate PR for that later if you like.

Also might generally be a bit database heavy since it's pulling User objects instead of counts? (edit: are collections lazy loaded?)

@AaronJackson AaronJackson requested a review from dpslwk October 31, 2024 21:13
@dpslwk dpslwk merged commit 3e17d07 into main Nov 9, 2024
2 checks passed
@dpslwk dpslwk deleted the prometheus-meetings branch November 9, 2024 14:21

foreach ($meetings as $meeting) {
$meetingCounts[] = [
$meeting->getProxies()->count(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ARGH WHY DID I DO THAT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants