This is a repository for a log workshop based on 2018 Dash APM Workshop made by Burningion.
The workshop is scheduled for an hour and a half. In this short time frame, having prerequisites installed is crucial to maximize everyone's hands on time.
Please ensure you accomplished the following steps before the event:
-
Install Docker CE.
-
Install Docker Compose.
-
Clone this repository on your local machine:
git clone https://github.com/l0k0ms/log-workshop-2.git
-
Pull Docker images to your local machine
docker-compose up
(this make take several minutes). When it finishes, load http://localhost:5000 in a private window and check that everything is up and running. -
(Optional) The workshop itself is written in a Jupyter notebook, allowing you to mix and edit content locally. If you want to be able to add notes and save them locally, install Jupyter, and then open the
log_workshop_instructions.ipynb
by doing ajupyter-notebook
in the workshop directory. This is completely optional, as Github has a built in viewer for Jupyter notebooks. Check the repository notebook.
-
If not done already create a Datadog account. A free trial should work to play with.
-
(Optional) - If the application was already running, stop it with the following command:
docker-compose stop && docker-compose rm
-
Launch the application with the following parameters:
POSTGRES_USER=postgres POSTGRES_PASSWORD=122356 DD_API_KEY=<DATADOG_API_KEY> docker-compose up
Replace
<DATADOG_API_KEY>
with the API key provided for your Datadog platform. -
Then open the web app at http://localhost:5000, create some pumps and cities.
-
Finally follow the instructions of this workshop.