mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-16 02:01:28 +00:00
Update InfluxDB.Client to 4.1.0
This commit is contained in:
parent
ebc5ec046a
commit
50fdcb2441
3 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3"/>
|
||||
<PackageReference Include="DDSReader" Version="1.0.8-pre"/>
|
||||
<PackageReference Include="Discord.Net.Webhook" Version="3.6.1"/>
|
||||
<PackageReference Include="InfluxDB.Client" Version="3.3.0"/>
|
||||
<PackageReference Include="InfluxDB.Client" Version="4.1.0"/>
|
||||
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0"/>
|
||||
<PackageReference Include="Kettu" Version="1.2.4"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.4"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue