This project sets up a Rest API and monitoring the stack using Docker Compose, including Prometheus for metrics collection and Grafana for visualization and dashboarding.
- Java 18 or high
- Docker
- Docker Compose 3.3 or higher
- Clone the repository:
git clone https://github.com/your-repo/monitoring-stack.git
- Navigate to the project directory:
cd monitoring-stack
- Start the stack:
docker-compose up -d
This will run the Rest Api application, pull the necessary Docker images and start the containers in the background.
Run docker-compose down
to stop the stack and remove the containers. The data directory will persist on your machine.
- Rest Api: http://localhost:8080
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3000
Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or bug fixes.
This project is licensed under the MIT License.