mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
Add autosave tracking and statistics
Detect when autosaves are made and track the size in a Prometheus gague.
This commit is contained in:
1 parent
139585f8c6
commit
e908c5069b
4 files changed
+69
No files matched your search
@@ -109,6 +109,28 @@ let testLines = new Map([
|
||||
message: "Error while running event level::on_nth_tick(1)",
|
||||
}
|
||||
],
|
||||
[
|
||||
"4802.763 Info AppManager.cpp:287: Saving to _autosave4 (blocking).",
|
||||
{
|
||||
format: "seconds",
|
||||
time: "4802.763",
|
||||
type: "log",
|
||||
level: "Info",
|
||||
file: "AppManager.cpp:287",
|
||||
message: "Saving to _autosave4 (blocking).",
|
||||
}
|
||||
],
|
||||
[
|
||||
"4202.780 Info AppManagerStates.cpp:1802: Saving finished",
|
||||
{
|
||||
format: "seconds",
|
||||
time: "4202.780",
|
||||
type: "log",
|
||||
level: "Info",
|
||||
file: "AppManagerStates.cpp:1802",
|
||||
message: "Saving finished",
|
||||
}
|
||||
],
|
||||
])
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in new issue
Block a user