Hi <@U08CKJH7C12>, <@U09G4AF3NFR>, <@U07B55XLG2V>...
# agents
a
Hi @refined-appointment-81829, @lively-winter-88668, @tall-belgium-91876 I’m trying to collect per-plugin metrics for a realtime model session. I understood: Per-plugin metrics → subscribe to the realtime model’s metrics_collected event on the plugin instance I’m currently using a llm.RealtimeModel instance through:
Copy code
@property

def llm(self) -> llm.LLM | llm.RealtimeModel | None:
    return self._llm
I tried: session.llm.on(“metrics_collected”) but llm.RealtimeModel does not seem to expose
rtc.EventEmitter
methods, so .on(…) is not available. What is the correct way to subscribe to metrics_collected events for a RealtimeModel? Could someone share an implementation snippet for collecting per-plugin metrics from a realtime model session? Thanks!
✅ 1
t
Hi Harshita Sukumar Patil, ⚠️ This channel will be deleted soon ⚠️ Please use our new community at https://community.livekit.io for technical discussions and to post technical questions. The Slack community is not going away, but we are migrating technical questions to our new forum. Please see full details here.