Commit graph

29 commits

Author SHA1 Message Date
Thulinma
8b7757c8e9 Added trigger statistics to Prometheus-style outputs, fixed executable triggers not correctly responding with the default on execv fail 2018-12-13 16:48:57 +01:00
Erik Zandvliet
10fa4b7e7b libmist backport from new metadata branch with improved typing and styling 2018-12-06 11:07:07 +01:00
Thulinma
62ae2929a3 Merge branch 'newStatus' into Pro_newStatus
# Conflicts:
#	src/controller/controller_api.cpp
#	src/controller/controller_statistics.cpp
#	src/controller/controller_statistics.h
#	src/controller/controller_streams.cpp
2018-03-21 14:50:04 +01:00
Thulinma
e4ac68db54 Improved statistics and stream status 2018-03-21 14:46:22 +01:00
Thulinma
6e0e66076d WebSocket API in controller 2018-03-20 20:07:11 +01:00
Thulinma
0dd602d5ca WebSocket API in controller 2018-03-20 20:06:37 +01:00
Thulinma
f5faa61ed4 Added bandwidth API call for bandwidth limit and exception config 2017-07-05 13:47:16 +02:00
Thulinma
01e0b76a6a Internal stream state active/inactive rewritten to use newly exposed stream status 2017-06-23 15:08:57 +02:00
Thulinma
3bad5c2161 Hopefully fixed Windows 2017-05-17 12:09:04 +02:00
Thulinma
6e21e70fae Fixed Windows builds. Wtf..? 2017-05-16 20:15:00 +02:00
Thulinma
2cec1f7836 Fixed session cache race conditions 2017-05-01 11:54:02 +02:00
Thulinma
3980b8c8c1 Access logs + made prometheus runtime changeable 2017-04-18 12:33:06 +02:00
Thulinma
d504324b8f Added stop_sessions API call 2016-09-22 09:52:08 +02:00
Thulinma
6babfe64c6 Fixed bandwidth sometimes being wrongly measured. 2016-06-09 18:43:16 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
52d0c66166 Prevent re-initialized connections from counting bytes too eagerly. 2016-05-26 18:24:25 +02:00
Thulinma
5759dbef0f Added "invalidate_sessions" API call, made USER_NEW trigger even more atomic. 2016-05-20 13:06:37 +02:00
Thulinma
f641989991 Added maxconnsperip setting to controller. Only enforced if USER_NEW trigger is in use. 2016-05-16 16:48:21 +02:00
Thulinma
dfc41cc596 Prometheus stats split over viewers, incoming and outgoing.
Load balancer updated to use new split stats and provide info per host and/or stream if requested over its port.
2016-05-15 00:20:53 +02:00
Thulinma
263dee7b25 Added push-related API calls to controller, made outputs able to wait for playable streams. 2016-05-11 13:55:23 +02:00
Thulinma
dd46788d37 Support for text-based prometheus-compatible instrumentation. 2016-04-22 16:17:28 +02:00
Thulinma
c548077282 Made fillActive calls (stats_streams and current_streams) only count users that have retrieved at least 128KiB of data, in order to filter out index and meta requests. 2016-04-14 12:39:20 +02:00
Thulinma
2029b35361 Tweaked fillActive to have both now and historic modes
Made streams no longer show as active for ~10m after being active.
2016-02-29 13:25:19 +01:00
Thulinma
f6e2e95b5a Added USER_NEW trigger. 2016-02-19 11:33:40 +01:00
Thulinma
4bdbd82f66 LTS Commits 2015-04-05 21:38:36 +02:00
Thulinma
55046206fe Fixed various statistics bugs. 2014-12-05 21:31:45 +01:00
Thulinma
63c4e5d1e6 New statistics code with sessions. 2014-11-28 16:30:35 +01:00
Thulinma
b325ca96ee Added checksum to stats of HTTP based outputs for later merging of connections. 2014-10-23 15:12:33 +02:00
Thulinma
cd2fe225c5 Shared memory rewrite 2014-04-04 19:50:40 +02:00