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

fix(recordings): invalid metrics #545 #546

Closed

Conversation

faust64
Copy link
Contributor

@faust64 faust64 commented May 10, 2021

getRecordings API call should accept a state argument.

According to the BigBlueButton exporter, possible values include published, unpublished, deleted and processing:
https://github.com/greenstatic/bigbluebutton-exporter/blob/master/bbb-exporter/collector.py#L165..L207

While this patch doesn't check for a valid input, it should include the proper WHERE clause querying DB.

Tested against a setup I can't really play with, that only includes published records: counters are OK.
Additional tests & feedback welcome.

Fixes #545
Partly addresses #193

@faust64 faust64 changed the title fix(recordings): #545 fix(recordings): invalid metrics #545 May 10, 2021
@git-lama
Copy link
Contributor

git-lama commented Jun 2, 2021

@faust64 thanks a lot for raising this pr, closing this pr with #575 which also includes test cases and more filters.

@git-lama git-lama closed this Jun 2, 2021
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.

Scalelite Recordings Metrics & BBB Exporter
2 participants