Add pipeline (comfyui or streamdiffusion) to the ai_current_live_pipe…#3686
Add pipeline (comfyui or streamdiffusion) to the ai_current_live_pipe…#3686
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3686 +/- ##
===================================================
- Coverage 31.94339% 31.93001% -0.01338%
===================================================
Files 156 156
Lines 47412 47435 +23
===================================================
+ Hits 15145 15146 +1
- Misses 31374 31396 +22
Partials 893 893
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
server/ai_mediaserver.go
Outdated
| countByPipeline[v.Pipeline] = countByPipeline[v.Pipeline] + 1 | ||
| streams = append(streams, k) | ||
| } | ||
| monitor.AICurrentLiveSessions(countByPipeline["comfyui"], "comfyui") |
There was a problem hiding this comment.
Can't we just loop through the keys of countByPipeline rather than hard coding?
There was a problem hiding this comment.
Yes, we could, but then I guess we would not zero the metric, because it would just not distinguish the empty map entry and no key. Or do you think it could work?
No description provided.