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

Prometheus metrics for recording feature #1710

Merged
merged 1 commit into from Dec 20, 2020
Merged

Conversation

darkdarkdragon
Copy link
Contributor

What does this pull request do? Explain your changes. (required)
Prometheus metrics for recording feature

  • recording_save_errors: number of errors during save to the recording OS
  • recording_saved_segments: number of segments saved to the recording OS
  • recording_save_latency: time takes to save segment to OS
  • also marked "segment_transcoded_appeared_total" and "segment_source_appeared_total" metrics with with "segment type" tag which
    can be "regular" (streams with recoding disabled) and "rec" (streams with recording enabled)

Specific updates (required)
added new metics

How did you test each of these updates (required)
Manual

Does this pull request close any open issues?
Fixes #1709

Checklist:

  • README and other documentation updated
  • Node runs in OSX and devenv
  • All tests in ./test.sh pass

monitor/census.go Outdated Show resolved Hide resolved
Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

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

LGTM after squashing

- recording_save_errors: number of errors during save to the recording OS
- recording_saved_segments: number of segments saved to the recording OS
- recording_save_latency: time takes to save segment to OS
- also marked "segment_transcoded_appeared_total" and  "segment_source_appeared_total" metrics with with "segment type" tag which
  can be "regular" (streams with recoding disabled) and "rec" (streams with recording enabled)

Fixes #1709
@darkdarkdragon darkdarkdragon merged commit 9703cec into master Dec 20, 2020
@darkdarkdragon darkdarkdragon deleted the it/recording-metrics branch December 20, 2020 22:26
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.

Add Prometheus metrics for recording feature
2 participants