Retrospect is a full-stack tracing tool designed for debugging small applications.
Retrospect is comprised of 6 different pieces: a client agent, a server agent, an api server, a server running scheduled data maintenance tasks, an instance of a cassandra database, and the user interface.
For more information on Retrospect, visit our website.
-
Install retrospect-client-agent
-
Install retrospect-server-agent
-
- Cassandra is used for storing for events and traces
-
- This server contains cron jobs that add metadata to certain type of database spans and a cleaner that removes expired data (older than a set number of days).
-
- This server receives data from the Retrospect client agent and server agents and stores data in Cassandra. It also serves requested data to Retrospect's UI.
-
- Filters and displays requested events and traces.
-
Install
docker
anddocker-compose
up where ever you want to deploy Retrospect.docker
version should be 20.10.6docker-compose
version should be 1.29.1- Use this installation guide for assistance: https://docs.docker.com/compose/install/
-
Clone this repository to your local machine using
git clone
-
cd
into the folder and rundocker-compose up
to deploy the infrastructure in a docker network -
Update the
endpoint
property in the "retrospect-server-agent" and "retrospect-client-agent" configuration files to point to the location of this network.-
For example, if this network is deployed locally (where your instrumented service lives) then the
endpoint
should have a value of"http://localhost"
. If the network lives on a virtual machine like a Digital Ocean droplet, then theendpoint
should have a value containing the"http://134.209.66.75"
. -
If you deploy Retrospect on a virtual machine like Digital Ocean, make sure to use one with at least 4GB of RAM.
-
The Retrospect UI should start automatically in the browser. If not, it will be running on port 3200. If you are running the application locally, navigate to localhost:3200.