Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stackzoo/simple-web-app
- Owner: stackzoo
- License: mit
- Created: 2023-05-03T13:11:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T14:04:21.000Z (11 months ago)
- Last Synced: 2024-05-17T00:25:13.469Z (8 months ago)
- Topics: cloud-native, flask, prometheus, python3, web-application
- Language: CSS
- Homepage:
- Size: 783 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
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.