This is a demo repository to test distributed tracing with Elastic APM. It consists of the following components:
- client - A small HTML/JS app that loads a list of orders to be viewed in a table.
- gateway - The microservice api gateway that will route requests to back end services.
- auth-service - A service backed by a postgres database to authenticate users.
- order-service - A service backed by data in elasticsearch to query a list of orders.
NOTE You will need to have your own Elasticsearch and APM configuration set up, this demo was created using Elastic Cloud. Future goal is to dockerize the entire thing.
- Clone the repo
- docker-compose up --build
- Navigate to the client app at http://localhost:3003
App | Port |
---|---|
gateway | 3000 |
auth-service | 3001 |
order-service | 3002 |
client | 3003 |