Fix prometheus handlers (#4311)

* fix prometheus handlers not serving responses

* add basic integration test to prometheus handler

* modify .gitignore to ignore all ffmpeg versioned folders instead of just any file exactly matching "ffmpeg"
This commit is contained in:
mahmed2000
2025-05-03 23:27:08 -07:00
committed by GitHub
parent 00be7720b5
commit 9a0e487d54
3 changed files with 11 additions and 6 deletions
@@ -172,3 +172,8 @@ test('send an external integration action using access token expecting failure',
.send(payload)
.expect(401);
});
test('test prometheus metrics', async() => {
const res = await getAdminResponse('prometheus');
expect(res.text).toMatch(/owncast_instance_cpu_usage/);
});