Skip to content

Commit

Permalink
Minor fixes for cadence-aws project (uber#379)
Browse files Browse the repository at this point in the history
* Fix statsd prefix for different services(so that it is possible to use '*' to select all operations for frontend/matching/history
* Fix docker build issue uber#377
  • Loading branch information
longquanzheng authored Oct 17, 2017
1 parent 949009e commit b388ca7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ENV CADENCE_HOME $GOPATH/src/github.com/uber/cadence
RUN go get -u github.com/Masterminds/glide
RUN go get -u github.com/golang/lint/golint

RUN git clone --depth=50 https://github.com/uber/cadence.git $CADENCE_HOME
RUN git clone https://github.com/uber/cadence.git $CADENCE_HOME
RUN cd $CADENCE_HOME; git checkout $git_branch; make bins_nothrift

EXPOSE 7933 7934 7935
Expand Down
6 changes: 3 additions & 3 deletions docker/config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence"
prefix: "cadence-frontend"

matching:
rpc:
Expand All @@ -32,7 +32,7 @@ services:
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence"
prefix: "cadence-matching"

history:
rpc:
Expand All @@ -41,4 +41,4 @@ services:
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence"
prefix: "cadence-history"

0 comments on commit b388ca7

Please sign in to comment.