Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
N

New Relic APM Metrics

Readme

New Relic APM Metrics for Laravel Nova

Add Error Rate, Throughput and Response Time metrics to your Laravel Nova Dashboard.

Example

Install

You need to run the following command: composer require napp/nova-new-relic-metrics

Add Credentials

add the following to config/services.php

'newrelic' => [
    'api_key' => env('NEW_RELIC_API_KEY'),
    'insights_api_key' => env('NEW_RELIC_INSIGHTS_API_KEY'),
    'account_id' => env('NEW_RELIC_ACCOUNT_ID'),
    'app_id' => env('NEW_RELIC_APP_ID'),
]

Add cards to a dashboard

add to NovaServiceProvider.php

public function cards()
{
    return [
        new \Napp\NewRelicMetrics\Metrics\Throughput,
        new \Napp\NewRelicMetrics\Metrics\ErrorRate,
        new \Napp\NewRelicMetrics\Metrics\ResponseTime,
        new \Napp\NewRelicMetrics\Metrics\MysqlRequests,
        new \Napp\NewRelicMetrics\Metrics\RedisRequests,
        new \Napp\NewRelicMetrics\TransactionsCard,
    ];
}
Back to Top
Added 7 years ago
Last updated 6 Years Ago
Version 1.0.3
Composer
napp/nova-new-relic-metrics
GitHub stars 7
Packagist downloads 820

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Author

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas