Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stackzoo/simple-web-app

A super simple web app for demo purposes
https://github.com/stackzoo/simple-web-app

cloud-native flask prometheus python3 web-application

Last synced: about 2 months ago
JSON representation

A super simple web app for demo purposes

Awesome Lists containing this project

README

        

# SUPER SIMPLE 'CLOUD NATIVE' WEB APP

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A super simple web app for demo purposes.

## Instructions

Full instructions with prometheus can be found [here](https://github.com/r3drun3/prometheus-demo)

build and run with docker:

```console
docker build -t test/app:latest . \
&& docker run -it --rm -p 8887:8887 test/app:latest
```

The web app UI can be visualized at `http://localhost:8887`:
![prometheus](Images/webapp.png)

Note that the Flask Web app expose a `/metrics` endpoint:
![prometheus](Images/metrics.png)

this is the default endpoint that Prometheus will scrape.