Skip to main content

A Django app to save cpu usage and view stats.

Project description

ROI BURO sample project

Name

ROI BURO sample test project

Description

This is Django-based sample test project which collect information about CPU usage and shows this stats at HTML page. There are client - linux daemon written on Python, which measures CPU utilization periodically and server - django application, which receives measures via REST API.

Installation

  1. Add "roiburo" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [ ... 'roiburo', ]

  2. Include the sample project URLconf in your project urls.py like this:

    path('roiburo/', include('roiburo.urls')),

  3. Run python manage.py migrate to create project models.

  4. Start the development server python manage.py runserver.

  5. Start daemon from client folder by running python main.py.

  6. Visit http://127.0.0.1:8000/roiburo/api/v1/core/system-state-details to view statistics.

  7. API docs is available at http://127.0.0.1:8000/roiburo/api/schema/swagger-ui#/

Features

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-roi-buro-sample-project-0.1.9.tar.gz (8.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page