Skip to content

kalamuna/quicksilver-newrelic-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quicksilver New Relic Deployment Tracking

This Quicksilver project is used for automation of deployment tracking with New Relic on Pantheon platform.

Installation

This project is designed to be included from a site's composer.json file, and placed in its appropriate installation directory by Composer Installers.

It has to also include custom quick-silver installer as composer installer doesn't support the quicksilver-script type.

In order for this to work, you should have the following in your composer.json file:

{
  "require": {
    "composer/installers": "^1.0.20",
    "rvtraveller/qs-composer-installer": "1.0"
  },
  "extra": {
    "installer-paths": {
      "web/private/scripts/quicksilver/{$name}/": ["type:quicksilver-script"]
    }
  }
}

The project can be included by using the command:

composer require kalamuna/quicksilver-newrelic-tracking

Don't forget to update the pantheon.yml file for your Drupal 8/9 installation and connect your application to NewRelic thought Pantheon dashboard.

Example pantheon.yml

Here's an example of what your pantheon.yml would look like if this were the only Quicksilver operation you wanted to use.

workflows:
  # Log to New Relic when deploying to test or live.
  deploy:
    after:
      - type: webphp
        description: Log to New Relic
        script: private/scripts/quicksilver/quicksilver-newrelic-tracking/new_relic_deploy.php
  # Also log sync_code so you can track new code going into dev/multidev.
  sync_code:
    after:
      - type: webphp
        description: Log to New Relic
        script: private/scripts/quicksilver/quicksilver-newrelic-tracking/new_relic_deploy.php

About

Quicksilver project is used for automation of deployment tracking with New Relic on Pantheon platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages