Skip to content

A collection of opinionated scripts and configuration files that allows developers and researchers to easily start a PowerAPI monitoring stack.

License

Notifications You must be signed in to change notification settings

davidson-consulting/PowerAPI-Quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerAPI Quickstart

PowerAPI quickstart is a collection of opinionated scripts and configuration files that allows developers and researchers to easily start a PowerAPI monitoring stack.

The deployed stack is composed of several components:

  • One or several PowerAPI sensors, used to collect metrics exposed by the processor
  • A Mongo database, used to store metrics collected by the sensor(s)
  • A PowerAPI formula, used to compute the energy consumption of the monitored processes
  • A InfluxDB database, used to store values generated by the formula
  • A Grafana dashboard, to display the generated values in real-time.

In addition we provide simple scripts to gather the generated metrics.

You can find more about PowerAPI in its documentation.

Prerequisites

Hardware requirements: Servers that will host PowerAPI sensors must have a Sandy Bridge Intel processor (or newer).

Software requirements: see the README.md file under each deployment folder.

Usage

This project provide several ways to deploy PowerAPI, under the deployment folder. If you want to:

  • Deploy PowerAPI on a single server, see the docker-compose directory
  • Deploy PowerAPI on a cluster, see the docker-stack directory

Once the PowerAPI stack deployed, you can start programs you want to monitor in a Docker container.

Licence

This project is licensed under GNU GPL-3.0

About

A collection of opinionated scripts and configuration files that allows developers and researchers to easily start a PowerAPI monitoring stack.

Topics

Resources

License

Stars

Watchers

Forks