-
You'll need a recent version of docker engine and compose. Mine are installed as part of the Docker Desktop for Mac bundle (v2.0.0.3, includes engine=18.09.2, compose=1.23.2).
-
If swarm isn't running,
docker swarm init
-
Add your secrets. If you don't have APM credentials, head over to cloud.elastic.co and spin up a cluster.
printf "<your apm secret token>" | docker secret create apm-secret-token -
printf "<your apm server url>" | docker secret create apm-server-url -
-
Get the code:
git clone <this repo>
-
Build and deploy the stack:
sh deploy.sh
-
You'll now have four math services running, and a math UI. Each service accepts two URL parameters,
n1
andn2
, and the response will contain the sum, difference, product, or quotient.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple microservices environment for experimenting with Elastic APM.
License
choobinejad/elastic-apm-lab
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple microservices environment for experimenting with Elastic APM.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published