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