Giter VIP home page Giter VIP logo

MicroObs

License: MIT

Goals

  • Make use of the API Gateway pattern to facilitate the consumption of observability data by interested (or external) parties;
  • Offer an easy to use observability system for microservices based on containers that encompasses the main observability concerns like logs and metrics.

Usage

Right now, the gateway image must be manually built before using docker-compose. That can be accomplished by running the following commands:

# clone the gateway repository
git clone https://github.com/microobs/gateway
cd gateway

# build the image
sudo docker build -t api_gateway .

After that, the microobs repository should be clonned where the docker-compose up can be issued to run the services.

git clone https://github.com/microobs/microobs
cd microobs

ADMIN_USER=admin ADMIN_PASSWORD=admin docker-compose up -d

The API Gateway listens at the Port 8081 by default.

API Gateway Configuration

The API Gateway uses the module node-config to load its settings like the url of the observability services. Those settings are load from a JSON file called default.json located at the /config folder. To facilitate the load of custom settings, the folder gateway-config has a JSON (same name and with the same settings as the one in the API gateway image) that can be used to do so. After editing, one just need to uncomment the volume section in the docker-compose.yml file under the gateway service section.

Contribution

The project helped the creation of the open source JS module Prom-GraphQL that as long as we know it's the first GraphQL wrapper on the Prometheus REST API.

Acknowledgment

This project uses as a base the dockprom repository. Also, the Grafana dashboard for Elasticsearch is used (with minor modification) as well.

License

MicroObs is available under the MIT license. See the LICENSE file for more info.

MicroObs's Projects

gateway icon gateway

API Gateway for the MicroObs Project

microobs icon microobs

Main repository of the MicroObs project

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.