Skip to content

tinproject/emojivending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emoji Vending Machine

This repository is a companion part of my talk "Instrumenta tu app con Prometheus" at PyConES 2018.

It has the code exposed on the talk, and it's also a playground to poke with Grafana and Prometheus metrics.

Run the project

To run this project you need: make, docker, & docker-compose.

Run make setup to create local folders for docker volumes and to download fonts and emoji data.

To run the project you could do one of the following:

  • make up will start the project in background.
  • make run will start the project in foregroung, dumping docker-compose logs to stdout.
  • make run-debug will start the project in debug mode, dumping docker-compose logs to stdout.

Once you run the project, this endpoints will be exposed on your local machine:

To stop the containers of the project, just run make down.

Play

Play with the project, you can:

  • Take a look at the EmojiVending app and get some emojis.
  • Then you can take a look at the Prometheus Graph explorer and Grafana.
  • Run the preconfigured locust job to simulate traffic and take a look back at Grafana dashboard.
  • Take a look at Node-Exporter exported metrics.
  • Tweak Gafana dashboards or create new ones.

About

Emoji Vending App of my talk at PyConES 2018

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published