Simplify instrumentation metrics.

- fix javascript deserialization in UI with json response
-  create swarm watcher to monitor replicas
This commit is contained in:
Alex Ellis
2017-03-14 22:04:17 +00:00
committed by Alex Ellis
parent 38713184e5
commit a63dd8ee4c
8 changed files with 115 additions and 44 deletions

10
debug.md Normal file
View File

@ -0,0 +1,10 @@
### Debug information
This is a useful Prometheus query to show:
* Service replicas
* Rate of invocation
* Execution time of events
http://localhost:9090/graph?g0.range_input=15m&g0.expr=gateway_service_count&g0.tab=0&g1.range_input=15m&g1.expr=rate(gateway_function_invocation_total%5B20s%5D)&g1.tab=0&g2.range_input=15m&g2.expr=gateway_functions_seconds_sum+%2F+gateway_functions_seconds_count&g2.tab=0