Permalink
Browse files

Initial beta release version ready

  • Loading branch information...
Mark Troyer
Mark Troyer committed Jul 18, 2013
1 parent b56f7c2 commit 78813f19add20df8f1de7d26d6bf7df2023981fa
Showing with 14,156 additions and 27 deletions.
  1. +5 −0 .htaccess
  2. +25 −0 README.md
  3. +6 −0 app/.htaccess
  4. +212 −0 app/css/adhoc.css
  5. +144 −0 app/css/datetimepicker.css
  6. +106 −0 app/css/loader.css
  7. +46 −0 app/css/login.css
  8. +30 −0 app/css/nav.css
  9. +154 −0 app/css/popups.css
  10. +42 −0 app/css/push-button.css
  11. +748 −0 app/css/statuswolf_base.css
  12. +34 −0 app/css/table.css
  13. +53 −0 app/css/toggle-buttons.css
  14. +84 −0 app/css/tooltip.css
  15. BIN app/favicon.ico
  16. +1 −0 app/font/Iconic/iconic_stroke.css
  17. +164 −0 app/font/Iconic/iconic_stroke.css.scss
  18. BIN app/font/Iconic/iconic_stroke.eot
  19. +153 −0 app/font/Iconic/iconic_stroke.json
  20. BIN app/font/Iconic/iconic_stroke.otf
  21. +385 −0 app/font/Iconic/iconic_stroke.svg
  22. BIN app/font/Iconic/iconic_stroke.ttf
  23. BIN app/font/Iconic/iconic_stroke.woff
  24. BIN app/img/Status_Wolf.png
  25. BIN app/img/Status_Wolf2.png
  26. BIN app/img/Status_Wolf2@2x.ico
  27. BIN app/img/Status_Wolf2@2x.png
  28. BIN app/img/Status_Wolf2B.png
  29. BIN app/img/Status_Wolf2B@2x.png
  30. BIN app/img/Status_Wolf@2x.png
  31. BIN app/img/error.png
  32. BIN app/img/favicon-96.png
  33. +34 −0 app/index.php
  34. +2,287 −0 app/js/lib/bootstrap-2.3.1.js
  35. +1,424 −0 app/js/lib/bootstrap-datetimepicker.js
  36. +1 −0 app/js/lib/bootstrap.js
  37. +104 −0 app/js/lib/date.js
  38. +2 −0 app/js/lib/dygraph-combined-box.js
  39. +1 −0 app/js/lib/dygraph-combined.js
  40. +2 −0 app/js/lib/jquery-1.8.0.js
  41. +635 −0 app/js/lib/jquery.autocomplete.js
  42. +1 −0 app/js/lib/jquery.js
  43. +1,083 −0 app/js/lib/magnific-popup.js
  44. +25 −0 app/js/push-button.js
  45. +271 −0 app/js/status_wolf_colors.js
  46. +31 −0 app/js/sw_lib.js
  47. +7 −0 app/js/toggle-buttons.js
  48. +63 −0 conf/example_auth.conf
  49. +25 −0 conf/example_datasource.conf
  50. +39 −0 conf/example_statuswolf.conf
  51. BIN icon.png
  52. +410 −0 lib/KLogger/KLogger.php
  53. +343 −0 lib/PolynomialRegression/PolynomialRegression.php
  54. +109 −0 lib/StatusWolf/Controller/AdhocController.php
  55. +296 −0 lib/StatusWolf/Controller/ApiController.php
  56. +27 −0 lib/StatusWolf/Controller/HomeController.php
  57. +30 −0 lib/StatusWolf/Controller/SWController.php
  58. +14 −0 lib/StatusWolf/Error/SWException.php
  59. +408 −0 lib/StatusWolf/Model/Datasource/OpenTSDB.php
  60. +420 −0 lib/StatusWolf/Model/TimeSeriesData.php
  61. +65 −0 lib/StatusWolf/Network/Curl.php
  62. +64 −0 lib/StatusWolf/Router/SWRouter.php
  63. +135 −0 lib/StatusWolf/SWConfig.php
  64. +422 −0 lib/StatusWolf/Util/DetectTimeSeriesAnomaly.php
  65. +19 −0 lib/StatusWolf/Util/SWAuthLogObserver.php
  66. +119 −0 lib/StatusWolf/Util/SWAutoLoader.php
  67. +187 −0 lib/StatusWolf/Util/Session/MysqlSessionHandler.php
  68. +259 −0 lib/StatusWolf/Util/TimeSeriesDownsample.php
  69. +365 −0 lib/StatusWolf/Views/adhoc.php
  70. +31 −0 lib/StatusWolf/Views/footer.php
  71. +43 −0 lib/StatusWolf/Views/header.php
  72. +34 −0 lib/StatusWolf/Views/home.php
  73. +86 −0 lib/StatusWolf/Views/login.php
  74. +34 −0 lib/StatusWolf/Views/login_header.php
  75. +27 −0 lib/StatusWolf/Views/navbar.php
  76. +1,429 −0 lib/StatusWolf/Views/opentsdb_search.php
  77. +206 −0 lib/StatusWolf/bootstrap.php
  78. +113 −0 lib/StatusWolf/constants.php
  79. +1 −0 lib/StatusWolf/version
  80. +33 −27 plan.md
View
@@ -0,0 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/ [L]
RewriteRule (.*) app/$1 [L]
</IfModule>
View
@@ -0,0 +1,25 @@
StatusWolf
==========
Configurable operations dashboard designed to bring together the
disparate datasources that operations teams need to manage and present
them in a flexible and beautiful way.
The current version provides ad-hoc searching of data, with OpenTSDB as
the initially available data source. It allows for searching multiple
metrics, week-over-week display, and anomaly detection in the current data.
## Ad-Hoc Search Interface
![Ad-Hoc Search](https://cloud.box.com/shared/static/a8aqjs34mpa65de6bp90.png)
## Standard Graph with Right Axis
![Standard Graph](https://cloud.box.com/shared/static/t1v30ygv65jq6uismjqu.png)
## Anomaly Detection
![Anomaly Detection](https://cloud.box.com/shared/static/wybbtdmr09qee8gibicf.png)
## Sharing a graph
![Share Graph](https://cloud.box.com/shared/static/u5cdoo87j6u3fs5kaows.png)
## Saving a search
![Save Search](https://cloud.box.com/shared/static/705m4z3yu7jyy55y2ban.png)
View
@@ -0,0 +1,6 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
View
@@ -0,0 +1,212 @@
.ad-hoc-form-item {
display: -webkit-box;
-webkit-box-orient: horizontal;
height: 100%;
margin-right: 15px;
}
.ad-hoc-form-item h4 {
font-size: .8em;
}
.ad-hoc-form-row {
display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-align: center;
margin: 15px 0;
width: 100%;
/*min-width: 1100px;*/
}
.ad-hoc-menu-btn {
border: 1px groove rgba(234, 234, 234, 0.1);
}
.ad-hoc-menu-btn:hover, .ad-hoc-menu-btn.hover {
cursor: pointer;
background-color: rgb(37, 37, 37);
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}
.ad-hoc-button {
display: -webkit-box;
-webkit-box-orient: horizontal;
font-size: .8em;
line-height: 1.5em;
height: 100%;
padding: 2px 10px;
min-width: 110px;
background-color: rgb(51, 51, 51);
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
border: 1px groove rgba(234, 234, 234, 0.1);
}
.ad-hoc-button:hover {
cursor: pointer;
background-color: rgb(37, 37, 37);
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}
.ad-hoc-button span:first-child {
-webkit-box-flex: 1;
}
.ad-hoc-button-label {
padding-right: 5px;
-webkit-box-flex: 1;
}
.section-off {
visibility: hidden;
opacity: 0;
-webkit-transition: visibility 0s linear 0.25s, opacity 0.25s linear;
transition: visibility 0s linear 0.25s, opacity 0.25s linear;
}
.section-on {
visibility: visible;
opacity: 1;
-webkit-transition: visibility 0s linear, opacity 0.25s linear;
transition: visibility 0s linear, opacity 0.25s linear;
}
.metric-line, .metric-input {
-webkit-box-flex: 1;
}
.metric-input-textbox {
-webkit-box-flex: 1;
}
.metric-input-textbox input {
width: 99%;
}
.autocomplete-suggestion {
overflow: hidden;
}
.autocomplete-suggestion {
margin-bottom: 1px;
font-size: .8em;
line-height: 1.5em;
padding-left: 8px;
}
.autocomplete-suggestion:hover {
cursor: pointer;
background-color: rgb(64, 64, 64);
color: rgba(205, 205, 205, 0.8);
}
.autocomplete-selected {
background-color: rgb(64, 64, 64);
color: rgba(205, 205, 205, 0.8);
}
#ad-hoc-search-form {
padding-left: 35px;
}
#active-aggregation-type, #active-downsample-type {
display: inline-block;
min-width: 110px;
}
#active-downsample-interval {
display: inline-block;
min-width: 65px;
}
#ad-hoc-dates, #ad-hoc-time-span {
position: absolute;
top: 0;
margin-left: 25px;
-webkit-box-flex: 4;
-webkit-box-pack: start;
}
#ad-hoc-edit, #query-cancel {
display: inline-block;
}
#auto-update {
-webkit-box-pack: start;
margin-top: 4px;
margin-right: 10px;
}
.widget-title-dropdown {
display: inline-block;
height: 100%;
}
.widget-title-dropdown span {
display: inline-block;
}
.widget-title-dropdown li {
font-size: 0.8em;
}
#date-span-toggle .toggle-button-group {
margin-top: 4px;
}
#ad-hoc-time-span .ad-hoc-button {
margin-top: 4px;
}
#downsample-interval-button {
min-width: 80px;
}
#row1 {
margin-top: 25px;
margin-bottom: 25px;
position: relative;
}
#start-time, #end-time {
-webkit-box-flex: 2;
}
#metric-search-table {
padding-left: 0;
}
#history-toggle {
margin-top: 4px;
margin-right: 30px;
}
#action-buttons {
-webkit-box-flex: 1;
-webkit-box-pack: end;
margin-right: 30px;
}
#go-button {
background-color: rgba(40, 55, 40, 0.95);
}
#go-button:hover {
background-color: rgba(40, 55, 40, 0.5);
}
#save_query_info {
font-size: 0.75em;
max-width: 800px;
margin: 0 15px 20px 25px;
color: rgba(205, 205, 205, 0.75);
}
#save_query_info li {
margin-bottom: 10px;
}
#saved-searches-options {
min-width: 350px;
}
Oops, something went wrong.

0 comments on commit 78813f1

Please sign in to comment.