Skip to content

superhorsy/api-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest api monitoring application

Application makes raw HTTP requests from requests.config and tracks info of them in api-monitoring.log file.

Log file flushes after exceeding 10 kB.

Reequsts should be divided by line that starts with "#".

Additionally logs can be view through ELK stack by following scheme:

api-monitoring -> filebeat -> logstash -> elasticsearch <- kibana

Usage

mvn clean package
mv -f target/api-monitoring-0.0.1-SNAPSHOT.jar docker/
cd docker
sh make.sh
sh api-monitoring_start.sh
docker-compose up

Used technologies and libraries

Options

Can be customized in application.prorties file as given here:

  • request.path - path to requests file
  • requsts.interval - time interval in minuets betweem reqests sessions
  • log.path - path to log file

About

Health check app for API's: sends requests by HTTP, logs result, optionally sends to ELK.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published