-
- Downloads
Add metrics support.
* Makefile.am: Add "upgrade-11.sql", "chart.js" and "metrics.js". * bin/cuirass.in (main): Add 'metrics fiber. * src/cuirass/http.scm (%file-white-list): Add "js/chart.js". (url-handler): Add "/metrics" route. * src/cuirass/metrics.scm: New file. * src/cuirass/templates.scm (html-page): Add a "Global metrics" sub-menu to "Status" dropdown menu. (make-line-chart, global-metrics-content): New procedures. * src/schema.sql (Metrics): New table. * src/sql/upgrade-11.sql: New file. * src/static/js/chart.js: New file.
Showing
- Makefile.am 6 additions, 1 deletionMakefile.am
- bin/cuirass.in 11 additions, 1 deletionbin/cuirass.in
- src/cuirass/http.scm 24 additions, 1 deletionsrc/cuirass/http.scm
- src/cuirass/metrics.scm 199 additions, 0 deletionssrc/cuirass/metrics.scm
- src/cuirass/templates.scm 77 additions, 1 deletionsrc/cuirass/templates.scm
- src/schema.sql 8 additions, 0 deletionssrc/schema.sql
- src/sql/upgrade-11.sql 11 additions, 0 deletionssrc/sql/upgrade-11.sql
- src/static/js/chart.js 7 additions, 0 deletionssrc/static/js/chart.js
Loading
Please register or sign in to comment