Skip to content

A simple microservices environment for experimenting with Elastic APM.

License

Notifications You must be signed in to change notification settings

choobinejad/elastic-apm-lab

Repository files navigation

Getting Started

  1. 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).

  2. If swarm isn't running, docker swarm init

  3. 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 -

  4. Get the code: git clone <this repo>

  5. Build and deploy the stack: sh deploy.sh

  6. You'll now have four math services running, and a math UI. Each service accepts two URL parameters, n1 and n2, and the response will contain the sum, difference, product, or quotient.

About

A simple microservices environment for experimenting with Elastic APM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published