Code Monkey home page Code Monkey logo

tmonitor's Introduction

VICINITY Things Monitor

This software artefact connects to the Semantic Repository of VICINITY and performs an analysis of its content, as a result, the VICINITY Things Monitor fills a database summarising the findings. In order to visualise its results, the VICINITY Things Monitor instantiates a Grafana dashboard named ThingsInVICINITY with an overview of what has being registered in VICINITY. In addition, for each organisation, it generates a dashboard with the organisation's name and an analysis of the resources registered by such entity.

Quick-start

Compilation

To compile the Things Monitor project run. However a compiled jar can be found in the ./target folder

mvn clean package -DskipTests

Dependencies

In order the monitor to work, we need to install Grafana and a MySQL database. In the MySQL it is necessary to create a database named dashboard. Finally, Grafana must be configured to connect to such database. The database is expected to be configured as follows:

spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:8889/dashboard?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect

Otherwise modify the application.properties file of the project and compile it again

Running the monitor

To run the monitor execute in a console the following command

java -jar tmonitor.jar --server.port=8080 --server.grafana=[GRAFANA_ENDPOINT] --server.token=[GRAFANA_API_KEY] --server.srepository=[SEMANITC_REPOSIOTRY_ENDPOINT]

tmonitor's People

Contributors

andreacimminoarriaga avatar

Watchers

James Cloos avatar Viktor Oravec avatar  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.