Skip to content

Chat Application with Spring Boot, Websockets, MongoDB and Prometheus

Notifications You must be signed in to change notification settings

kryadov/ChatWithPrometheusDemo

 
 

Repository files navigation

Chat1

Chat Application with Spring Boot, Websockets, and MongoDB monitored by Prometheus.

Requirements: Java 8+, JAVA_HOME enviroment variable.

1. Build

gradlew build

2. Run

docker-compose up -d --build

or

Start mongodb, prometheus, exporters manually (use config directory) and execute bin\chat1.sh(.bat). Also add dns record "127.0.0.1 mongodb pushgateway" to /etc/hosts (Unix) or C:\Windows\System32\drivers\etc\hosts (Windows).

5. Open browser at

Chat: https://localhost:12345

Chat JMX exporter: https://localhost:1234

Prometheus: https://localhost:9090

Pushgateway: https://localhost:9091

Grafana: https://localhost:3000

4. Clean data

docker volume rm chat1_mongodata

About

Chat Application with Spring Boot, Websockets, MongoDB and Prometheus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 50.6%
  • HTML 36.5%
  • Go 4.0%
  • Python 3.8%
  • Batchfile 1.9%
  • Shell 1.9%
  • Dockerfile 1.3%