Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
carts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cld
systems
sock-shop
carts
Commits
a5785ab9
Commit
a5785ab9
authored
8 years ago
by
Jason Smith
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #18 from microservices-demo/enhancement/opentracing
Enhancement/opentracing
parents
a51f183c
3e36f3b9
No related branches found
Branches containing commit
Tags
0.4.7
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker-compose-zipkin.yml
+36
-0
36 additions, 0 deletions
docker-compose-zipkin.yml
pom.xml
+5
-0
5 additions, 0 deletions
pom.xml
src/main/resources/application.properties
+3
-0
3 additions, 0 deletions
src/main/resources/application.properties
with
44 additions
and
0 deletions
docker-compose-zipkin.yml
0 → 100644
+
36
−
0
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"
This diff is collapsed.
Click to expand it.
pom.xml
+
5
−
0
View file @
a5785ab9
...
@@ -35,6 +35,11 @@
...
@@ -35,6 +35,11 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-zipkin
</artifactId>
<version>
1.1.0.RELEASE
</version>
</dependency>
<dependency>
<dependency>
<groupId>
io.prometheus
</groupId>
<groupId>
io.prometheus
</groupId>
<artifactId>
simpleclient
</artifactId>
<artifactId>
simpleclient
</artifactId>
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/application.properties
+
3
−
0
View file @
a5785ab9
server.port
=
${port:8081}
server.port
=
${port:8081}
spring.data.mongodb.uri
=
mongodb://${db:cart-db}:27017/data
spring.data.mongodb.uri
=
mongodb://${db:cart-db}:27017/data
endpoints.health.enabled
=
false
endpoints.health.enabled
=
false
spring.zipkin.baseUrl
=
http://${zipkin:zipkin}:9411/
spring.sleuth.sampler.percentage
=
1.0
spring.application.name
=
carts
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment