Git Product home page Git Product logo

healthcheckapp's Introduction

Health Check App

What is the Health Check App?

The Health Check App is a Go-based utility that monitors the health of a set of HTTP endpoints. It tests the availability of endpoints, calculates their availability percentage, and logs the results. This tool is designed to help you keep track of the health and performance of your web services.

How It's Developed (Technical Overview)

The Health Check App is developed in Go and follows best practices, including Go modules for dependency management. It uses YAML configuration files to define endpoints, performs health checks every 15 seconds, and logs the availability percentage of each domain. It utilizes Go's standard libraries for HTTP requests and concurrent execution for efficiency.

How to Run the Health Check App

  1. Clone this repository to your local machine.
  2. Make sure you have Go installed.
  3. Navigate to the project's root directory in your terminal.
  4. Run the app with the command: go run main.go path/to/config.yaml, where path/to/config.yaml is the path to your configuration file in YAML format.
  5. The app will start testing the defined endpoints and log their availability percentages. Press Ctrl+C to stop the app.

healthcheckapp's People

Contributors

saurabhkoshatwar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.