mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Replace endpointHitCounter
Track summary statistic of total HTTP response durations using a middleware that applies for all requests instead of having every request needing to update the hit counter manually. Deprecates endpointHitCounter.
This commit is contained in:
1 parent
98dc0174d6
commit
5ad89f072f
7 files changed
+23
-24
No files matched your search
@@ -86,7 +86,7 @@ class MasterPlugin extends libPlugin.BaseMasterPlugin {
|
||||
|
||||
this.subscribedControlLinks = new Set();
|
||||
|
||||
routes.addApiRoutes(this.master.app, this.items, this.metrics.endpointHitCounter);
|
||||
routes.addApiRoutes(this.master.app, this.items);
|
||||
}
|
||||
|
||||
updateStorage() {
|
||||
|
||||
Reference in new issue
Block a user