Skip to content

nokia-wroclaw/innovativeproject-fe-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

eFEmetrics

Solution for metrics and events reporting from any web application.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

The main purpose of the project was to find a solution to reporting metrics and events from a web application. To achieve that, we have created a library. Its basic functionality is sending metrics. Each metric has a separate field indicating the creating time, value and tag list. Sending the metric can be initiated by event such as click on button or run completely in the background.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is a list of things you need to run the project locally and how to install them.

  • npm

    npm install npm@latest -g
  • docker

     $ sudo apt-get install docker-ce docker-ce-cli containerd.io

Installation

  1. Clone the repo

    git clone https://github.com/nokia-wroclaw/innovativeproject-fe-metrics.git
  2. Go to front folder

    cd frontend/root/efemetric/
  3. Install NPM packages

    npm install
  4. Build front

    npm run build
  5. Go to root folder

    cd ../../..
  6. Build docker

    docker-compose up -d --build
  7. Stop docker

     docker-compose down

Usage

You can test our library on the demo page at the app demo page. We have also created example dashboards in grafana that will allow you to visualize the data sent. If you want to test locally, do not change the data in the database connection form

For more examples, please refer to the Documentation

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact