Merge pull request #2578 from weaveworks/issues/2576-metrics-on

Serve metrics by default, on port 6782
This commit is contained in:
Martynas Pumputis authored and GitHub committed 2016-11-02 09:08:13 +00:00
commit 3462357481
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ set -e
# Default if not supplied - same as weave net default
IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
STATUS_ADDR=${WEAVE_STATUS_ADDR:-0.0.0.0:6782}
# Default for network policy
EXPECT_NPC=${EXPECT_NPC:-1}
@@ -86,7 +87,7 @@ if [ -z "$IPALLOC_INIT" ]; then
fi
/home/weave/weaver --port=6783 $BRIDGE_OPTIONS \
--http-addr=127.0.0.1:6784 --docker-api='' --no-dns \
--http-addr=$HTTP_ADDR --status-addr=$STATUS_ADDR --docker-api='' --no-dns \
--ipalloc-range=$IPALLOC_RANGE $NICKNAME_ARG \
--ipalloc-init $IPALLOC_INIT \
--name=$(cat /sys/class/net/weave/address) "$@" \