fusionx1 / terminus-get-newrelic
Terminus Plugin that fetches metric data from new relic api and display via console
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 2
Open Issues: 2
Type:terminus-plugin
Requires (Dev)
- league/climate: ^3.2
This package is auto-updated.
Last update: 2025-01-29 05:44:27 UTC
README
Terminus Plugin that fetches metric data from the New Relic api:
- It displays a list of sites without New Relic within an organization
- It displays slowest performing sites using New Relic data (throughput, response time, Apdex)
- 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
- Fetches metric data from
dev
terminus newrelic-data:site my_site.dev
- Displays all sites without New Relic under an organization by site plan.
terminus newrelic-data:org [ORG UUID]
- Displays all sites with or without New Relic under an organization by site plan.
terminus newrelic-data:org [ORG UUID] --all
- 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
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
- 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
- To include screenshot of New relic metrics
- To add actual PHP Usage
- To add Browsers time and apdex