From 50fdcb2441a8447e4614f3577a02880efa8e896d Mon Sep 17 00:00:00 2001 From: jvyden Date: Sun, 1 May 2022 13:25:00 -0400 Subject: [PATCH] Update InfluxDB.Client to 4.1.0 --- ProjectLighthouse/Helpers/InfluxHelper.cs | 4 ++-- ProjectLighthouse/Logging/InfluxLogger.cs | 2 +- ProjectLighthouse/ProjectLighthouse.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProjectLighthouse/Helpers/InfluxHelper.cs b/ProjectLighthouse/Helpers/InfluxHelper.cs index 98aa74b5..ea266efb 100644 --- a/ProjectLighthouse/Helpers/InfluxHelper.cs +++ b/ProjectLighthouse/Helpers/InfluxHelper.cs @@ -39,10 +39,10 @@ public static class InfluxHelper .Tag("game", gameVersion.ToString()) .Field("playerCountGame", await StatisticsHelper.RecentMatchesForGame(gameVersion)); - writeApi.WritePoint(ServerSettings.Instance.InfluxBucket, ServerSettings.Instance.InfluxOrg, gamePoint); + writeApi.WritePoint(gamePoint, ServerSettings.Instance.InfluxBucket, ServerSettings.Instance.InfluxOrg); } - writeApi.WritePoint(ServerSettings.Instance.InfluxBucket, ServerSettings.Instance.InfluxOrg, point); + writeApi.WritePoint(point, ServerSettings.Instance.InfluxBucket, ServerSettings.Instance.InfluxOrg); writeApi.Flush(); } diff --git a/ProjectLighthouse/Logging/InfluxLogger.cs b/ProjectLighthouse/Logging/InfluxLogger.cs index 85c88a75..bc9b870a 100644 --- a/ProjectLighthouse/Logging/InfluxLogger.cs +++ b/ProjectLighthouse/Logging/InfluxLogger.cs @@ -21,6 +21,6 @@ public class InfluxLogger : LoggerBase PointData point = PointData.Measurement("lighthouseLog").Field("level", level).Field("content", content); - writeApi.WritePoint(ServerSettings.Instance.InfluxBucket, ServerSettings.Instance.InfluxOrg, point); + writeApi.WritePoint(point, ServerSettings.Instance.InfluxBucket, ServerSettings.Instance.InfluxOrg); } } \ No newline at end of file diff --git a/ProjectLighthouse/ProjectLighthouse.csproj b/ProjectLighthouse/ProjectLighthouse.csproj index 2fa86487..62bb8303 100644 --- a/ProjectLighthouse/ProjectLighthouse.csproj +++ b/ProjectLighthouse/ProjectLighthouse.csproj @@ -15,7 +15,7 @@ - +