This commit is contained in:
parent
12000f7de8
commit
1520340bf4
@ -62,6 +62,7 @@ async function connectWebsocket() {
|
||||
|
||||
const {
|
||||
id,
|
||||
country,
|
||||
hmd,
|
||||
baseScore,
|
||||
missedNotes,
|
||||
@ -99,6 +100,7 @@ async function connectWebsocket() {
|
||||
const point = new Point("scoresaber")
|
||||
.tag("type", "score_count")
|
||||
.intField("value", totalScores)
|
||||
.stringField("country", country)
|
||||
.timestamp(new Date());
|
||||
InfluxWriteAPI.writePoint(point);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user