EverWrath/src/common
Kitzunu a1a11a7c38
BREAKINGCHANGE(Metrics): Support InfluxDB v2 (#22358)
This commit introduces support for InfluxDB v2 in the metric logging system, updates configuration options, and enhances the code to handle both InfluxDB v1 and v2. The changes include updates to the `Metric` class, configuration file, and logging behavior.

### InfluxDB v2 Support:
* Added support for InfluxDB v2 in the `Metric` class by introducing new configuration options (`Metric.InfluxDB.Org`, `Metric.InfluxDB.Bucket`, `Metric.InfluxDB.Token`) and logic to handle v2-specific parameters.
* Updated the `SendBatch` method to construct HTTP requests differently based on whether v1 or v2 is enabled. 

### Configuration Updates:
* Replaced the `Metric.ConnectionInfo` configuration with `Metric.InfluxDB.Connection` and added detailed comments and examples for both InfluxDB v1 and v2 configurations in `worldserver.conf.dist`.
* Added placeholder configuration entries for InfluxDB v2 parameters (`Metric.InfluxDB.Org`, `Metric.InfluxDB.Bucket`, `Metric.InfluxDB.Token`) in `worldserver.conf.dist`. 

### Logging Enhancements:
* Added a commented-out logger configuration (`Logger.metric`) in `worldserver.conf.dist` for potential use in metric-specific logging.
2025-07-05 12:00:08 +02:00
..
Asio refactor(Core/Time): Introduce GetExpirationTime instead of calculati… (#21006) 2024-12-22 09:42:39 +01:00
Collision fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Configuration feat(Core/Config): Improvements to config caching (#21647) 2025-06-30 17:14:12 +02:00
Cryptography refactor(Deps/OpenSSL): Deprecate OpenSSL 1.x (#19452) 2024-08-07 18:13:31 +02:00
DataStores refactor(src/common|server): remove unused import (big part 1) (#20377) 2024-10-31 21:46:11 +01:00
Debugging refactor(Core/Misc): Acore::StringFormat to fmt format (#19838) 2024-09-03 07:59:37 -03:00
Dynamic refactor(src/common|server): remove unused import (big part 1) (#20377) 2024-10-31 21:46:11 +01:00
Encoding chore(Core/Misc): warhead -> acore (#17447) 2023-10-08 09:06:57 +02:00
IPLocation refactor(Core/Logging): switch to fmt style for LOG_ (#10366) 2022-01-27 16:44:41 +01:00
Logging fix(Core/Log): fmt output for appender (#21043) 2024-12-25 23:17:25 +01:00
Metric BREAKINGCHANGE(Metrics): Support InfluxDB v2 (#22358) 2025-07-05 12:00:08 +02:00
Navigation refactor(Core/Misc): add braces and impove codestyle (#6402) 2021-06-24 19:50:18 +02:00
Platform chore(Core/Misc): Some cleanup (#19970) 2024-09-21 19:34:31 +02:00
PrecompiledHeaders refactor(Core/Common): alphabetical sorting inlcudes (#6282) 2021-06-23 01:01:53 +02:00
Threading fix(Core/Threading): Refactored LockedQueue / MPSCQueue - Improve thread safety, performance, and memory management (#21127) 2025-01-23 10:26:01 +01:00
Utilities feat(Core/Utilities): add Seconds overload for randtime (#22337) 2025-06-20 23:18:05 +02:00
Banner.cpp refactor(Core/Misc): Acore::StringFormat to fmt format (#19838) 2024-09-03 07:59:37 -03:00
Banner.h fix (core): Header consistency (#13303) 2022-10-15 11:03:59 -04:00
CMakeLists.txt refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07:00
Common.cpp refactor(Core/Motd): improve and simplify (#21252) 2025-01-27 11:07:46 +01:00
Common.h refactor(Core/Motd): improve and simplify (#21252) 2025-01-27 11:07:46 +01:00
CompilerDefs.h feat(License): add new headers information about license (#7941) 2021-09-30 13:40:52 +07:00
Define.h refactor(src/common): remove unused imports (#19506) 2024-07-30 20:06:46 -03:00
GitRevision.cpp ci: fix codestyle and cppcheck reports (#20962) 2024-12-18 10:34:42 +01:00
GitRevision.h chore(misc): cleanup (#17274) 2023-09-17 10:19:09 -03:00