Skip to content

Question regarding IOI telemetry #301

Closed Answered by grappigegovert
EndEmpire asked this question in Q&A
Discussion options

You must be logged in to vote

While connected to a Peacock instance, all data, including the telemetry, is sent to Peacock. Peacock currently does nothing with this data.

It is possible for plugins to hook into this data, but I don't think any plugin has been released that does.

The relevant code that handles the incoming metrics is here:

Peacock/components/index.ts

Lines 240 to 250 in 4e70d55

app.post(
"/api/metrics/*",
jsonMiddleware({ limit: "10Mb" }),
(req: RequestWithJwt<never, S2CEventWithTimestamp[]>, res) => {
req.body.forEach((event) => {
controller.hooks.newMetricsEvent.call(event, req)
})
res.send()
},
)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@EndEmpire
Comment options

Answer selected by EndEmpire
Comment options

You must be logged in to vote
1 reply
@EndEmpire
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants