This commit is contained in:
parent
5f7cdbf8d9
commit
c32b0cfd05
@ -96,7 +96,9 @@ async function logRequestToDatabase({
|
||||
try {
|
||||
InfluxWriteApi.writePoint(point);
|
||||
InfluxWriteApi.writePoint(
|
||||
new Point("proxy").intField("totalRequests", totalRequests)
|
||||
new Point("proxy")
|
||||
.intField("totalRequests", totalRequests)
|
||||
.timestamp(Date.now())
|
||||
);
|
||||
} catch (ex) {
|
||||
console.log("Failed to write to influx");
|
||||
|
Loading…
Reference in New Issue
Block a user