Code Monkey home page Code Monkey logo

mahendrapaipuri / ceems Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 4.28 MB

A Prometheus exporter and a REST API server to export metrics of compute units of resource managers like SLURM, Openstack, k8s, _etc_

Home Page: https://mahendrapaipuri.github.io/ceems/

License: BSD 3-Clause "New" or "Revised" License

Makefile 1.69% Go 88.49% Shell 7.89% Dockerfile 0.11% JavaScript 0.02% TypeScript 1.54% CSS 0.26%
batch grafana monitoring prometheus prometheus-exporter slurm dashboards emissions hpc json-api

ceems's People

Contributors

mahendrapaipuri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ceems's Issues

Keep track most up to date user account association in a separate table in DB

Imagine a situation where user associated with a project at some point of time and submitted a compute unit during that time. If the user loses membership on that project, they should be able to look into units of that project anymore.

However, the way we check for user project association, that user will have access to that project (who they are not members anymore) until the DB entry has been purged. This should be improved.

We can create a table for user project association and sync with resource manager regularly and we check the association based on that table.

Support Cray's `capmc` in IPMI collector

Cray has its own IPMI implementation called capmc. We can support this in IPMI collector to get node power stats. An example output of command is as follows:

> capmc get_system_power -w 600
{
"start_time":"2015-04-01 17:02:10",
"avg":5942,
"min":5748,
"max":6132,
"window_len":600,
"e":0,
"err_msg":""
}

Ref: https://cug.org/proceedings/cug2015_proceedings/includes/files/pap132.pdf
API Docs: https://github.com/Cray-HPE/hms-capmc/blob/release/csm-1.0/api/swagger.yaml

Add admin users config for LB. Sync admin users from Grafana

Currently, LB does not have notion of admin users to pass through the requests without additional checks. We need to add admin users to LB so that admins can look into dashboards of different users. We should do same thing as CEEMS API, sync admin users from Grafana.

Move all this logic into a middleware and add it to frontend handler.

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.