Giter Club home page Giter Club logo

redstone-oracle-monitoring's Introduction

RedStone Oracle Monitoring

RedStone Oracle Monitoring is an application used to periodically download and validate data from the redstone ecosystem. It is also responsible for collecting metrics and notifying developers about potential issues.

Installation

yarn or yarn install

Running

In order to run monitoring service environment variables are required. The simplest way is to create .env files in main folder and populate with desired values based on .env.example

Then run:

yarn dev

Frontend app will be served on http://localhost:3000

Docker running

Dockerfile is prepared in order to make usage of monitoring service easier. It can be found in main folder. In order to make it run environment variables inside file need to be populate. Then run following command in main folder to build Docker image:

docker build -t oracle-monitoring .

To start docker:

docker run -p 127.0.0.1:3000:3000 oracle-monitoring

Telegram integration

In order to integrate the monitoring notifier with telegram chat or channel, you need to populate TELEGRAM_TOKEN and TELEGRAM_CHAT_ID in the environment variables file. To get those variables you need to create a bot using BotFather and add it to your chat or channel. After creating the bot you will receive an access token which you should use as TELEGRAM_TOKEN. Chat id can be found from bot updates response. It can be fetched from URL https://api.telegram.org/bot<YourBOTToken>/getUpdates. The response should be an object with chat attribute and id inside it.

redstone-oracle-monitoring's People

Contributors

hatskier avatar cehali avatar jalokimograd avatar

Stargazers

melikipek 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.