unleashedtech.newrelic_php
New Relic PHPエージェント - Ansibleロール
DebianベースのサーバーにNew Relic PHPエージェントをインストールします。geerlingguy.php
ロールとの互換性があります。
要件
インストール
このロールを requirements.yml
に追加します:
- src: unleashedtech.newrelic_php
version: 1.1.0 # 最新バージョンを確認してください!
次に、$ ansible-galaxy install -r requirements.yml
を実行してこのロールをインストールします。
ロール変数
# New Relicライセンスキー
## これは暗号化されたボールトファイルに保存する必要があります!
## 詳しくは:https://docs.newrelic.com/docs/accounts-partnerships/accounts/account-setup/license-key
newrelic_license_key: xxxxxxxxxxx
# 望ましいパッケージの状態を示します。
# `latest`は最新バージョンがインストールされることを保証します。
# `present`はすでにインストールされている場合は更新しません。
# `absent`はパッケージとすべての設定ファイルを削除します。
# 選択肢: present|latest|absent
# デフォルト: latest
newrelic_php_package_state: present
# 詳細設定はhttps://docs.newrelic.com/docs/agents/php-agent/configuration/php-agent-configurationを参照
newrelic_php_config:
appname: "My Awesome App {{ env }}"
transaction_tracer.detail: 1
datastore_tracer.database_name_reporting.enabled: true
制限事項
- サーバーごとにNew Relic APMアプリケーションは一つだけ
プルリクエストは歓迎です。
参考情報
ライセンス
New Relic PHPエージェントはMITライセンスのもとで公開されています。
インストール
ansible-galaxy install unleashedtech.newrelic_php
ライセンス
mit
ダウンロード
3.8k
所有者
Open source experts focused on your organization and its processes, developing solutions that will unleash your business’ potential.