Giter Club home page Giter Club logo

new-relic-boxes's Introduction

New Relic Boxes

Code Climate Build Status

New Relic Boxes is an html5 dashboard for your R&D team. Boxes lets you monitor your applications and servers on New Relic. Alarm is played when one of your application / servers health status is changed.

New Relic Boxes

Installation

  • Ensure node ^0.10.33 is installed and on your path.
  • Run npm install bower to install bower
  • Run bower install to install libraries
  • Run npm install to install dependencies
  • Run index.html (the easiest way) or run npm start to start a static server

Setup

press settings and add the following information:

Your new relic apikey (mandatory).

Your company name (optional).

Your favicon url (optional).

Your new relic account id (optional) - to open a new tab with your specific box on new relic app.

new-relic-boxes's People

Contributors

berzniz avatar bryant1410 avatar buzzedword avatar danielbentov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

new-relic-boxes's Issues

CSS Build Process

Just wanted to create an item in here to gauge interest level.

Because of #7, the gulpfile.js is going to become a bit more defined soon to account for the JS processing. The CSS in this project is pretty clear already, and I was wondering if you wanted any kind of tooling to wrap it.

We have options such as:

Preprocessors

  • LESS
  • SASS
  • Stylus

Postprocessors

  • PostCSS
    • Autoprefixr
    • Nesting
    • CSS4

Or, honestly, just a "get off my lawn, concat it all, go away" approach. Anything here is fine, I just wanted to get an idea of what you had in mind moving forward-- I can tool any number of them up for you.

Build test harness around discrete functionality

Still sorting out the best way to accomplish this, I'm thinking stubbing out a New Relic response for multiple states would be the best way to test it all, and wrapping it with some Karma runners. Protractor would only be required to test the modal state (entering it, entering information, closing) -- that might be better suited for after initial units have been created.

Document parseData a bit for more transparency

Could you wrap a few inline comments around

$scope.parseData = function (data, pollerType) {
var shouldAlert = false;
$scope.size[pollerType] = data.length;
_.each(data, function (res) {
res.name = res.name.toLowerCase();
var findByGroupName = function(group) {
return (res.name.indexOf(group.type) > -1);
};
var groupSelected = _.find($scope.config.grouping, findByGroupName) || $scope.config.defaultGroup;
res.name = $.trim(res.name.replace(groupSelected.type, '').replace('-',' '));
if (!$scope[pollerType][groupSelected.type]) {
$scope[pollerType][groupSelected.type] = {
data: {},
name: groupSelected.type,
rank: groupSelected.rank
};
}
var data = $scope[pollerType][groupSelected.type].data;
var currentStatus = $scope.healthCheckRank[res.health_status] || 0;
var previousData = data[res.name] || {};
var previousStatus = $scope.healthCheckRank[previousData.health_status] || 0;
var status = (currentStatus - previousStatus);
$log.debug('status', status);
if (groupSelected.alarm && (status > 0)) {
shouldAlert = true;
}
data[res.name] = res;
});
if (pollerType === 'servers') {
$scope.counter++;
}
if (shouldAlert) {
$scope.playAlarm();
}
};
to clarify what this method is doing step by step? I could probably break it down a bit more into services if it was a bit less opaque, and make it more testable.

Create build job for javascript files

Should do:

  • Concatenating all vendored files
  • Concatenating all application files
  • Auto-annotating angular functions

Unrelated, but should also set angular to ng-strict mode.

Bring all angular versions to minimum ~1.3

There's a discrepancy between some angular components and the base angular version at 1.2 and 1.3. Suggestion bringing it all up to 1.3 for version parity. Any particular reason why 1.2 was selected?

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.