Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
carts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cld
S
systems
sock-shop
carts
Commits
a5785ab9
Commit
a5785ab9
authored
Jan 02, 2017
by
Jason Smith
Committed by
GitHub
Jan 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #18 from microservices-demo/enhancement/opentracing
Enhancement/opentracing
parents
a51f183c
3e36f3b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
docker-compose-zipkin.yml
docker-compose-zipkin.yml
+36
-0
pom.xml
pom.xml
+5
-0
src/main/resources/application.properties
src/main/resources/application.properties
+3
-0
No files found.
docker-compose-zipkin.yml
0 → 100644
View file @
a5785ab9
version
:
'
2'
services
:
carts
:
image
:
weaveworksdemos/carts
hostname
:
carts
restart
:
always
cap_drop
:
-
all
cap_add
:
-
NET_BIND_SERVICE
read_only
:
true
tmpfs
:
-
/tmp:rw,noexec,nosuid
environment
:
-
reschedule=on-node-failure
-
ZIPKIN=zipkin
ports
:
-
"
8081:80"
zipkin
:
image
:
openzipkin/zipkin
hostname
:
zipkin
restart
:
always
cap_drop
:
-
all
cap_add
:
-
CHOWN
-
SETGID
-
SETUID
read_only
:
true
tmpfs
:
-
/tmp:rw,noexec,nosuid
environment
:
-
reschedule=on-node-failure
ports
:
-
"
9411:9411"
pom.xml
View file @
a5785ab9
...
...
@@ -35,6 +35,11 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-zipkin
</artifactId>
<version>
1.1.0.RELEASE
</version>
</dependency>
<dependency>
<groupId>
io.prometheus
</groupId>
<artifactId>
simpleclient
</artifactId>
...
...
src/main/resources/application.properties
View file @
a5785ab9
server.port
=
${port:8081}
spring.data.mongodb.uri
=
mongodb://${db:cart-db}:27017/data
endpoints.health.enabled
=
false
spring.zipkin.baseUrl
=
http://${zipkin:zipkin}:9411/
spring.sleuth.sampler.percentage
=
1.0
spring.application.name
=
carts
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment