Clone Hystrix:
git clone https://github.com/Netflix/Hystrix.git
Run the sample webapp:
cd Hystrix/hystrix-examples-webapp
../gradlew appRun
| customEvents | |
| | where timestamp between (startofweek(ago(14d))..now()) | |
| | make-series dcount(user_Id) on timestamp in range(startofweek(now()),endofweek(now()), 7d) by name | |
| | mvexpand timestamp, dcount_user_Id | |
| | extend Week = weekofyear(todatetime(timestamp)) | |
| | project Week, timestamp, name, toint(dcount_user_Id) | |
| | summarize sum(dcount_user_Id) by name, Week, tostring(timestamp) | |
| | order by Week desc, sum_dcount_user_Id desc | |
| | evaluate pivot(name, sum(sum_dcount_user_Id)) |
Clone Hystrix:
git clone https://github.com/Netflix/Hystrix.git
Run the sample webapp:
cd Hystrix/hystrix-examples-webapp
../gradlew appRun
| // Fortify configuration | |
| configurations { | |
| fortify { extendsFrom compile } | |
| } | |
| // pull in the fortify libs for the new configuration | |
| dependencies { | |
| fortify 'com.fortify:sourceanalyzer:3.90' | |
| } |