modules/http: graphs, prometheus metrics, websocks
* http embeds modified lua-http server code that reuses single cqueue for all h2 client sockets, this is also because the API in upstream is unstable * http embeds rickshaw for real-time graphs over websockets, it displays latency heatmap by default and can show several other metrics * http shows a world map with pinned recently contacted authoritatives, where diameter represents number of queries sent and colour its average RTT, so you can see where the queries are going * http now exports several endpoints and websockets: /stats for statistics in JSON, and /metrics for metrics in Prometheus text format
Showing
- daemon/lua/sandbox.lua 11 additions, 0 deletionsdaemon/lua/sandbox.lua
- modules/http/README.rst 42 additions, 1 deletionmodules/http/README.rst
- modules/http/http.lua 40 additions, 73 deletionsmodules/http/http.lua
- modules/http/http.mk 4 additions, 2 deletionsmodules/http/http.mk
- modules/http/http/LICENSE 21 additions, 0 deletionsmodules/http/http/LICENSE
- modules/http/http/README 5 additions, 0 deletionsmodules/http/http/README
- modules/http/http/h2_connection.lua 462 additions, 0 deletionsmodules/http/http/h2_connection.lua
- modules/http/http/server.lua 339 additions, 0 deletionsmodules/http/http/server.lua
- modules/http/prometheus.lua 85 additions, 0 deletionsmodules/http/prometheus.lua
- modules/http/static/kresd.js 173 additions, 54 deletionsmodules/http/static/kresd.js
- modules/http/static/main.tpl 51 additions, 14 deletionsmodules/http/static/main.tpl
- modules/http/static/rickshaw.min.css 1 addition, 0 deletionsmodules/http/static/rickshaw.min.css
- modules/http/static/rickshaw.min.js 3 additions, 0 deletionsmodules/http/static/rickshaw.min.js
Please register or sign in to comment