mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Probes POST to apps
- App takes POST report on /api/report - Probe publishes to configured target(s) - Name resolution happens on probe-side - There's no longer an xfer.ProbePort - xfer.Collector responsibility is reduced - Fixes to remaining experimental components. - rm experimental/bridge: it's not being used, and by changing the app/probe comm model, it would require a complete refactor anyway. We can easily rebuild it when we need to. It will even be much simpler. - rm experimental/graphviz: it's broken for some time anyway, and we don't really need to play around with it as a rendering option anymore. - rm experimental/oneshot: we never use this anymore.
This commit is contained in:
@@ -54,10 +54,10 @@ if [ -n "$DNS_SERVER" -a -n "$SEARCHPATH" ]; then
|
||||
fi
|
||||
|
||||
# End of the command line can optionally be some
|
||||
# addresses of probes to connect to, for people not
|
||||
# using Weave DNS. We stick these in /etc/weave/probes
|
||||
# for the run-app script to pick up.
|
||||
MANUAL_PROBES=$@
|
||||
echo "$MANUAL_PROBES" >/etc/weave/probes
|
||||
# addresses of apps to connect to, for people not
|
||||
# using Weave DNS. We stick these in /etc/weave/apps
|
||||
# for the run-probe script to pick up.
|
||||
MANUAL_APPS=$@
|
||||
echo "$MANUAL_APPS" >/etc/weave/apps
|
||||
|
||||
exec /sbin/runsvdir /etc/service
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /home/weave/scope-app $(cat /etc/weave/scope-app.args) $(cat /etc/weave/probes)
|
||||
exec /home/weave/scope-app $(cat /etc/weave/scope-app.args)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /home/weave/scope-probe $(cat /etc/weave/scope-probe.args)
|
||||
exec /home/weave/scope-probe $(cat /etc/weave/scope-probe.args) $(cat /etc/weave/apps)
|
||||
|
||||
Reference in New Issue
Block a user