Docs at https://trinitycore.atlassian.net/wiki/display/tc/Monitoring+a+TrinityCore+server
* Common/Graphs: Initial proof of concept
* Move influx db code to its own class
* Reuse the same socket
* Allow to log values of different categories
* Allow to log events
* Pass the timestamp to influxdb
* Send events in batches
* Send data async
* Log server shutdown.
Fix memory leak.
* Allow to enable/disable Stats in the settings and at runtime
* Read interval between each batch send from config
* Add InfluxDB connection info to configs
* Move each event category to its own table
* Log pathfinding queries
* Move categories table initialization to constructor using enum as key to avoid assigning the table name to the wrong enum value
* Log player login/logout events.
Pass the hostname correctly in the HTTP request.
* Fix linux build
* Handle "Connection: close" HTTP header, reconnecting on next scheduled send.
Disable StatsLogger if connection fails, logging the error.
* Add an enum for categories of logged values, it's still possible to pass a string instead of the enum.
* Don't log the whole batchedData when InfluxDB returns an error, it's too long and unreadable on console.
* Allow to call a function at a specified interval in thread-safe World::Update() context to log data like player count.
* Log map tile load/unload
* Core/StatsLogger: Allow logging more value types other than ints
https://docs.influxdata.com/influxdb/v0.10/write_protocols/write_syntax/
* Fix a typo in string escape of StatsLogger
* Yet more fixes to the escaping in FormatInfluxDBValue
* DB/Gameobject: Fix respawn time of few Quest GameObjects
By Tauriella, closes#16701
* DB/Misc: Fix some engrish
By tkrokli closes#16648
* Tools/MMaps: Add format library linking to mmaps_generator
(Very) partial cherry pick of ed75b0649a
* Core/StatsLogger: Simplify code
Convert values and categories arrays to maps initialized in-place
Remove constructor and destructor
* Core/StatsLogger: Add realm name to the event and value tags
* Log amount of processed packet of each session
* Apply recent singleton changes to sStatsLogger too
* Fix influxdb data format if no realm name is present
* Remove unneeded newlines from request body, fixes response 400 from InfluxDB 0.10
* Rename Reporting folder to Metric
* Rename StatsLogger to Metric
* Rename InfluxDB configs to Metric
* Add Grafana dashboards
* Add a random annoying macro
* Move string formatting to Metric::SendBatch(), reducing performance footprint of Metric::LogEvent() and Metric::LogValue()
* Update grafana graphs refresing tags on load and showing now-15m data, refreshing every minute. These settings can be modified in grafana.
* Rename MetricData fields
* Contrib/Grafana: Rename dashboard files
* Contrib/Grafana: Replace hardcoded Windows/Ubuntu realm names by the default, Trinity
* Config/Worldserver: Add missing section to the index
* Contrib/Grafana: Add singlestat panels with current online players, update diff averages (1 min, 5 mins and 15 mins)
http://i.imgur.com/Zi8lfvS.png
* Core/Metric: Replace the enums MetricEventCategory and MetricValueCategory by strings
For the sake of simplicity and less recompile time when adding new metrics, similar to how TC_LOG_* works
* Contrib/Grafana: Display the current number of online players and not its average
Closes#15075
(cherry picked from commit 3ae10160820782d039c3449107960108fb3a63b9)
# Conflicts:
# src/server/game/Server/WorldSession.cpp
# src/server/game/World/World.cpp
# src/server/worldserver/Main.cpp
Also moved some methods of ItemPrototype to .cpp
Thanks to Yehonal for the original patch
Closes#16884
(cherry picked from commit 0257aa05280651b48e07e89950ad6ad5becfe9d2)
# Conflicts:
# src/server/game/Entities/Item/Item.cpp
# src/server/game/Entities/Item/ItemPrototype.h
Update SQL files should now be in a sub-folder equal to the current branch name
/sql/updates/auth/*.sql -> /sql/updates/auth/6.x/*.sql
/sql/updates/characters/*.sql -> /sql/updates/characters/6.x/*.sql
/sql/updates/hotfixes/*.sql -> /sql/hotfixes/world/6.x/*.sql
/sql/updates/world/*.sql -> /sql/updates/world/6.x/*.sql
This facilitates merges between the version branches
This time in the Halls of Anguish in Black Temple
ALso script Mutant War Hound
(cherry picked from commit f93d91aa1b7e49edb1b7fd1380abaf83083e6acc)
# Conflicts:
# sql/updates/world/2016_04_10_00_world.sql
Relax const uses in BossBoundaryEntry so the compiler can generate proper
copy assignment operator (error C2582: 'operator =' function is unavailable in 'BossBoundaryEntry')
Also renamed its members to match our coding standards
(public members should be UpperCamelCase)
(cherry picked from commit 954323d9cb13d4ab3d478bcb51eeb157009d8853)
Looking for folders like ".../MySQL/*/include" matches the MySQL Connector C libs which caused some problems.
Related #15072, #15068
P.S ".../MySQL/MySQL Server*/include" doesn't work
0348c1cae887bc788c1f611a08482156f15c3506 DB/Misc: Fix a runtime error By Killyana, updates #14730
80f73fafb41e288632d5532d2f3a165441df560a DB/Quest Hellfire Fortifications By Killyana, closes#15051
831199b6f75a292f42efb671db2ac1a3eccaa8b1 DB/Gameobject: Dark Keeper Nameplate By Killyana, closes#6915
312b3a56d90189123bd85e82cf6504c3c7f612be DB/Quest: Slaves to Saronite By Killyana, closes#7318
7b7c4b91d968121b24f296e0e211d4027138d3cd DB/Quest: The Challenge By Killyana, closes#4802
627c10da50baeeb01d95bd89854fa48075a98c92 DB/Misc: The Grim Guzzler fight By Killyana, closes#14631
1ecb8695d8bf2e69db869f49400f1be732a914c9 DB/Creature: Senani Thunderheart gossip By tkrokli, closes#14861
a0c43da18865e065d011c6323e094f87db586c78 DB/Creature: Fixing some spawns on The Frozen Halls entrance By Killyana, closes#15014
9154dd667c4aa8a1216616290adbf627dea10af5 Update 2015_07_12_02_world.sql
af8e9738036e2947e31b1f11bc01f7565f988376 DB/Misc: Fix startup error By Killyana, updates #14730
221a874d707d0a9982db230cb3db524eb9e879c0 DB/Quest: Rivenwood Captives By Killyana, closes#3648
dbaf88566be7083408fb8324d7886dc3e0a45cc0 DB/Text: Fix wrong broadcast text id
f5530c719b71309bd476aff528b0d3e1220ca49b DB/Misc: Megzeg Nukklebust By @tkrokli Closes#14863
d08524cfeb9028ead9c378cf18ddf21c63c88a2a DB/Path: Sunreaver Hawkrider in Crystalsong Forest
b067f20f4a0e5ba02b4026a7edae3a5d161e46c6 DB: Fix date for file
0d66b1917e53b38f5a0b6ee44c59e76315405bd6 DB/Path: Silver Covenant Horseman in Crystalsong Forest/Windrunner's Overlook
89c6e5dcf4d8a4168802171b80dca2a3330d2d19 DB/Misc: Various fixes * Quest rewards for Kael'thas and the Verdant Sphere - Closes#14452 * Quest rewards for The Cipher of Damnation - Closes#14879 * VOA Meeting stone - Closes#10502 * Fix a db error
6af3bc69970d3009a8e193fd2d3041232fbbd3e7 Fix file name
170ba68e63c46323f8624ecff24e6de1d38bd97b DB/Quest: Hellfire Fortifications By tkrokli, closes#14887
d5c84d5aaafdb3960e0f497168bcf87c0ae93702 DB/Path: Gundrak Savage pathing
20e3da1e5b3e366dc3f79d869078862e6f399f78 Fix file name
c8ee638517777d1a0e14c55f26341da8fa6d1f21 DB/Quest: Fix 2 swapped values of midsummer event
a29433fbab6e6fe023413af1c9d2d850328f6ac0 DB/Quest: I've Got a Flying Machine Closes https://github.com/TrinityCore/TrinityCore/issues/14965 By Killyana
791356c27e8ec68a49018009d7d1202d9efea2f5 DB/Oculus: mob missing spells / visuals
e243df4df92e477509c37ac4fd54e49c71e79cd0 DB/Oculus: typo in sql
813a903746c9e5d8915453309c38259a635c086a DB/Misc: Fix startup errors By Killyana, updates #14730
7e5307b9f36bb2afb4c368e1a09ff96cf5d9af4f DB/Creature: Innkeeper Keldamyr By MrSmite, closes#12474
77d083eb16758832bf465d460ff6275ba8de8445 DB/Quest: The Perfect Dissemblance By Killyana, closes#12439
9132cfe5e317f8fc4c58a7eb2c39d4f0e82002df DB/Quest: A Race Against Time By Killyana, closes#1074
d3590f92c21b7a36bd2410eb17dfde068510e22a DB/Quest: Master the Storm By Killyana, closes#1883
3720be33e15426ddc3a52edf0a31044d01a8d63e DB/Gameobject: Silithyst Mound By Killyana, closes#14637
5b6cbe88d3fda2dc2097319d912204dba8f3233d Update 2015_06_28_02_world.sql
6527046ede419d35a769621bc55d911e52744494 DB/Misc: Fix a runtime error By Killyana, updates #14730
5ff80739ef0031c1a93c6550062742bf2efd209e DB/Creature: Fixing some auras set with a wrong event By Killyana, closes#14875
7c7d258482cb541b9a57fd9ff9b64f01c51cf4cb DB/Misc: Brewfest - Wrong item in vendors By sirikfoll, closes#14989
fd299c53dc491de4dd7b8cfaa2c5b07e31dbd4be DB/Misc: Spawn several missing gameobjects and creatures in The Eye - Several pack of mobs and triggers spawned - Spawned doors at Kael's room - Corrected spawn coords for Kael'thas and his advisors from sniffs - Removed improper spawns of Ember of Alar
b4a293fd346d622e25e30fca8fe5206be2da3745 SQL: Quickfix a typo
e500cda6a90f1308cfa40e238feb5b0fb70a1852 DB/Creature: Howling Fjord - Movement - Niffelvar - Part V
7220b448992eacb5c3b419eda2c00328714b2b77 DB/Creature: Howling Fjord - Movement - Bealgun + Agamand - Part VI
8f35186475fb561e883907fb9349b6905b411685 DB/Creature: Winterskorn Hunter - Add 2 Missing Spawns
833a0d2ea52009ea302fedda02882a3e9bd86286 DB/Creature: Reinsert wrongly deleted Creatures
3d8ae16c0049dbb1eac478d978537e076c3cad3f DB/Creature: Negaton Screamer Script http://www.wowhead.com/npc=20875/negaton-screamer
ed2607f12827bc1f4e764f3988093e20aa303db4 DB/Creature: Howling Fjord - Movement - Whisper Gulch
d94c5228a2ec03f4c870ec16e9e570f5c521baa9 DB/Misc: Updates/Bug fixes to my recent commits 1) Also add heroic difficulty spells for Negaton Screamer and assign existing to normal mode only 2) Re-do Slip'kiks waypoints (yes originally used wrong wp from sniff or position instead of points as wp format was different 3) Add Fengus's WP I missed these originally as did not look right but reason why not right was same as above 4) Remove SAI to add buffs to players on death of bosses this is from original script and is incorrect as buff must be cast from gossip as I already scripted 5) Fix the faction/quest issue with Captain Kromcrush 6) Cho'Rush the Observer can once again be killed that line to add invincibility hp was not meant to be in final.
bbcc18bbf5ee5340321c7e057a900ffd8930f02c DB/Quest: Test at Sea * thanks for the spell_custom coresupport from @pete318 * closes#11880
3aa177410010e75934703be9247245881be73490 DB/Spell: Mark of the Fallen Champion - Heal - Targetconditions * closes#12308
1d44e305ac96b48b7cf2e3a54181fcac0421992c DB/Quest: Help Tavara By Killyana closes#2744
557018d6d1d549de88017c887f120e5a67cf8db2 DB/Creature: Deeprun Diver By Killyana, closes#12432
0c4a74ee4555b7252f7a18eb2f7fd42be0319bba DB/Misc: Delete few incorrectly spawned creatures By Killyana, closes#12564
8f7ef3384d73f1e533d7040654ddba0546afa15c DB/Quest: On Spirit Wings By Killyana, closes#5057
5eafe0a48d89c0db29f4dec6419496c314665926 DB/Creature: Delete 2 duplicate spawned mobs By Killyana, closes#14834
cc15bdb9ea0b69fc2e21f174cde1596031a70648 DB/Quest: Finish Me! By Killyana, closes#6814
f1ceb69e8f76c71f802bf6b5378682eabceaa942 DB/Quest: Reclusive Rune Master By Killyana, closes#14829
1ed273efecb0a687597a3a0ff40fa5548cf0ea1c DB/Creature_text: Add missing Broadcast_text By Killyana, closes#14808
d0f1e49a2fdc0d83d8e6f84c4482ef1e45aa3fb6 DB/npc_text: Add missing Broadcast_text By Killyana, closes#14810
4c47ff3392ccb266f88db34835078abbb6d455ef DB/Creature: Thrallmar grunt By Killyana, closes#14844
a68f8e353b4ddde867f472ffe11d95e481597886 DB/Quest: The New Horde By Killyana, closes#14814
b96a15d552bc87898b5e934fe70870b20dbc9b93 DB/Creature: UP - Add all Rndmemotes
fd53ab6a77e287b23471ffee8991a1bebbb126cb DB/Creature: Howling Fjord - Movement - Part I
62ebd002d990c24be989c33aa60719ed5a9ba761 DB/Misc: Fix a runtime error
036b4857abbef107fa5b52a406847f1066cf9f59 DB/Quest: Kroshius' Infernal Core - Endevent * Death by chicken!
b7e7d66caa1a0b73eb5a2d26c35d7353cb6151da DB/Misc: Add a ton of missing gossips By Killyana, updates #14793
13e9f688907fe19932e35b4c7fe1b6c1cfed57c7 DB/Misc: Add a ton of BroadcastTextIDs By Killyana, closes#14793
35f2f5530abc3308cfc6b107255eaa3c82076e76 DB/Creature: Remy "Two Times" By Killyana, closes#12616
562da2e8b2b0814b47027dfd1af2dd0d98378f88 DB/Creature: Howling Fjord - Movement - Dereleict Strand - Part II
a3473acf6c8a04a133227fb7780d4b502c3a5112 DB/Creature: Howling Fjord - Movement - Giants Run - Part III
d1c4c5a8f9431d2ccec0867594a3cde85293cb9b DB/Creature: Howling Fjord - Movement - Ivalds Ruin - Part IV
Also added missing changes to df15f87a9a
Merge pull request #14776 from sirikfoll/SpellMidsummer
Core/Spells Add support for quest Torch Tossing/More Torch Tossing
(cherry picked from commit 8197467c8787397ff58cd77e8a03a22b8654cac0)
by sirikfoll
---
Rename 2015_08_29_00_world.sql to 2015_06_23_01_world.sql
(cherry picked from commit 352703e89b5b707f541340c3f1ee6bcac0801278)
by MitchesD
---
Scripts/Spells: fix codestyle
thanks @whoami
(cherry picked from commit 0cba5558cf1149e2dc04a50858b00652ed3e31af)
by MitchesD
---
Scripts/VioletHold: picked some things from pull request #11399 (thx MitchedD for initial work)
(cherry picked from commit 34a721ba84643cf468f63e5c375949aaa3e15cac)
by joschiwald
---
Core/Scripts: Rework Violet Hold bosses adding missing spells/mechanics:
- Cyanigosa, Arcane Vacuum
- Ichoron, globules mechanic
- Moragg, optic link visuals
- Lavanthor, minor changes
- Zuramat, correctly implement void sentries
- Erekem, implement Windfury and correct management of Erekem Guards
- Script for the pre-event
Thx @ManuFe
(cherry picked from commit 0bb7f89e82c65f6b750e5d96766c2092031803b5)
Conflicts:
src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
by mik1893
---
Rename 2015_06_08_01_world.sql to 2015_06_25_00_world.sql
(cherry picked from commit 8176902b17ce7050029f70a87bec3284c1090785)
by MitchesD
---
Scripts/VioletHold: fixed non-pch build and codestyle
(cherry picked from commit e34f74dacea82f85b3b945e23f3432deda4595b7)
by MitchesD
---
Scripts/VioletHold: Fix codestyle and unwanted crash in Violet/Hold
closes#14952 and #14953
(cherry picked from commit 49809bd404ae7b58ac81086d52297532ec85972a)
by mik1893
---
Scripts/VioletHold: fix a crash during Ichoron encounter
Closes#14962
(cherry picked from commit 7c01638d45b3eaed7af124a43f21cc6d15407667)
by mik1893
---
Core/Misc: Fix build warnings
(cherry picked from commit 55681666b3cc0e33eeb5cdb77e638e68c19f452c)
Conflicts:
src/server/authserver/Main.cpp
by jackpoz