Skip to content

tbkot/ddev-newrelic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-on registry tests last commit release

DDEV New Relic

Overview

This add-on integrates New Relic into your DDEV project.

Installation

ddev add-on get tbkot/ddev-newrelic
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

  • Create a New Relic account. A free account is limited in data ingestion; see New Relic pricing.
  • From the New Relic's control panel, get the Licence key from your Account -> API Keys.
    Use the "Create a key" button and select Ingest - Licence as Key type.
  • Configure DDEV with the credentials, ddev config global --web-environment-add="NEWRELIC_LICENSE_KEY=<licence_key>, NEWRELIC_APPNAME=<appname>". The NEWRELIC_APPNAME could be any alphanumeric string; New Relic will create a corresponding entity that can be found in the UI.
    It’s easiest to do this globally, but you can do the same thing at the project level using ddev config --web-environment-add. Or create any .env file in .ddev directory with the corresponding variables.
  • ddev start
  • ddev newrelic on to enable, ddev newrelic off to disable, ddev newrelic status to see status

Credits

Contributed and maintained by @tbkot

About

New Relic integration for DDEV

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages