Giter Club home page Giter Club logo

terminus-get-newrelic's Introduction

Terminus Get New Relic

Terminus v1.x Compatible

Terminus Plugin that fetches metric data from the New Relic api:

  1. It displays a list of sites without New Relic within an organization
  2. It displays slowest performing sites using New Relic data (throughput, response time, Apdex)
  3. It shows an alert if the environment is under stress using New Relic color coding Pantheon sites.

Learn more about Terminus and Terminus Plugins at: https://pantheon.io/docs/terminus/plugins/

Examples

  1. Fetches metric data from dev
terminus newrelic-data:site my_site.dev

Screenshot

  1. Displays all sites without New Relic under an organization by site plan.
terminus newrelic-data:org [ORG UUID]

Screenshot

  1. Displays all sites with or without New Relic under an organization by site plan.
terminus newrelic-data:org [ORG UUID] --all

Screenshot

  1. Displays all sites with slowest response time under an organization. It provides an indicator if a site is in normal or in critical condition based on the New Relic health status.
terminus newrelic-data:org [ORG UUID] --overview

Screenshot

Installation

For help installing, see Manage Plugins

mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins fusionx1/terminus-get-newrelic:dev-master
composer install

Things to remember

  1. If invoking New Relic-data:org make sure you are an administrator of the organisation, otherwise it will only display sites where you are member.

Todo

  1. To include screenshot of New relic metrics
  2. To add actual PHP Usage
  3. To add Browsers time and apdex

terminus-get-newrelic's People

Contributors

allenfear avatar fusionx1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

terminus-get-newrelic's Issues

Notice and Warning related to $end_user_obj

PHP Notice: Undefined index: end_user_summary in /root/.terminus/plugins/terminus-newrelic-data-plugin-2.0.1/src/Commands/GetNewrelicCommand.php on line 368

and

PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /root/.terminus/plugins/terminus-newrelic-data-plugin-2.0.1/src/Commands/GetNewrelicCommand.php on line 380

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.