Skip to content

Add threaded download monitoring with Prometheus metrics - #115

Open
wlfrdoconc wants to merge 1 commit into
SCE-Development:devfrom
wlfrdoconc:download-monitoring-clean
Open

Add threaded download monitoring with Prometheus metrics#115
wlfrdoconc wants to merge 1 commit into
SCE-Development:devfrom
wlfrdoconc:download-monitoring-clean

Conversation

@wlfrdoconc

@wlfrdoconc wlfrdoconc commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Adds a background download monitoring thread that periodically downloads a test video and exposes Prometheus metrics through the existing /metrics endpoint

start = time.time()

try:
video = YouTube(TEST_VIDEO_URL)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this intended? I'm assuming this is tracking real video downloads so we would need to have an input parameter here instead?

@MatthewTran22 MatthewTran22 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm

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