blackstar257.newrelic

Ansibleロール: New Relic PHPエージェント

Ansible Role Build Status

このAnsibleロールは、RHEL/CentOS、Debian、UbuntuベースのシステムにNew Relic PHPエージェントをインストールおよび設定します。

要件

このロールはAnsible 2.4以上が必要です。

ロール変数

名前 デフォルト 説明
newrelic_config_path "/etc/php.d" 説明
newrelic_agent_extension "newrelic.so" 説明
newrelic_agent_enabled true 説明
newrelic_license_key "REPLACE_WITH_REAL_KEY" 説明
newrelic_agent_logfile "/var/log/newrelic/php_agent.log" 説明
newrelic_agent_loglevel "info" 説明
newrelic_agent_high_security false 説明
newrelic_agent_appname "PHPアプリケーション" 説明
newrelic_agent_process_host_display_name "" 説明
newrelic_agent_daemon_logfile "/var/log/newrelic/newrelic-daemon.log" 説明
newrelic_agent_daemon_loglevel "info" 説明
newrelic_agent_daemon_address /tmp/.newrelic.sock 説明
newrelic_agent_daemon_ssl_ca_bundle "" 説明
newrelic_agent_daemon_ssl_ca_path "" 説明
newrelic_agent_daemon_proxy "" 説明
newrelic_agent_daemon_pidfile "" 説明
newrelic_agent_daemon_location /usr/bin/newrelic-daemon 説明
newrelic_agent_daemon_collector_host "" 説明
newrelic_agent_daemon_dont_launch 0 説明
newrelic_agent_daemon_utilization_detect_aws true 説明
newrelic_agent_daemon_utilization_detect_azure true 説明
newrelic_agent_daemon_utilization_detect_gcp true 説明
newrelic_agent_daemon_utilization_detect_pcf true 説明
newrelic_agent_daemon_utilization_detect_docker true 説明
newrelic_agent_daemon_app_timeout 10m 説明
newrelic_agent_daemon_app_connect_timeout 0 説明
newrelic_agent_error_collector_enabled true 説明
newrelic_agent_error_collector_ignore_user_exception_handler false 説明
newrelic_agent_error_collector_ignore_exceptions "" 説明
newrelic_agent_error_collector_ignore_errors "" 説明
newrelic_agent_error_collector_record_database_errors false 説明
newrelic_agent_error_collector_prioritize_api_errors false 説明
newrelic_agent_browser_monitoring_auto_instrument true 説明
newrelic_agent_transaction_tracer_enabled true 説明
newrelic_agent_transaction_tracer_threshold apdex_f 説明
newrelic_agent_transaction_tracer_detail 1 説明
newrelic_agent_transaction_tracer_slow_sql true 説明
newrelic_agent_transaction_tracer_stack_trace_threshold 500 説明
newrelic_agent_transaction_tracer_explain_enabled true 説明
newrelic_agent_transaction_tracer_explain_threshold 500 説明
newrelic_agent_transaction_tracer_record_sql obfuscated 説明
newrelic_agent_transaction_tracer_custom "" 説明
newrelic_agent_transaction_tracer_internal_functions_enabled false 説明
newrelic_agent_framework "" 説明
newrelic_agent_webtransaction_name_remove_trailing_path false 説明
newrelic_agent_webtransaction_name_functions "" 説明
newrelic_agent_webtransaction_name_files "" 説明
newrelic_agent_daemon_auditlog "" 説明
newrelic_agent_transaction_events_enabled true 説明
newrelic_agent_attributes_enabled true 説明
newrelic_agent_transaction_events_attributes_enabled true 説明
newrelic_agent_transaction_tracer_attributes_enabled true 説明
newrelic_agent_error_collector_attributes_enabled true 説明
newrelic_agent_browser_monitoring_attributes_enabled false 説明
newrelic_agent_attributes_include "" 説明
newrelic_agent_attributes_exclude "" 説明
newrelic_agent_transaction_events_attributes_include "" 説明
newrelic_agent_transaction_events_attributes_exclude "" 説明
newrelic_agent_transaction_tracer_attributes_include "" 説明
newrelic_agent_transaction_tracer_attributes_exclude "" 説明
newrelic_agent_error_collector_attributes_include "" 説明
newrelic_agent_error_collector_attributes_exclude "" 説明
newrelic_agent_browser_monitoring_attributes_include "" 説明
newrelic_agent_browser_monitoring_attributes_exclude "" 説明
newrelic_agent_feature_flag "" 説明
newrelic_agent_custom_insights_events_enabled true 説明
newrelic_agent_labels "" 説明
newrelic_agent_synthetics_enabled true 説明
newrelic_agent_cross_application_tracer_enabled true 説明
newrelic_agent_distributed_tracing_enabled false 説明
newrelic_agent_span_events_enabled true 説明
newrelic_agent_transaction_tracer_gather_input_queries true 説明
newrelic_agent_error_collector_capture_events true 説明
newrelic_agent_guzzle_enabled true 説明
newrelic_agent_phpunit_events_enabled false 説明
newrelic_agent_datastore_tracer_instance_reporting_enabled true 説明
newrelic_agent_datastore_tracer_database_name_reporting_enabled true 説明
newrelic_agent_security_policies_token "" 説明

依存関係

なし

サンプルプレイブック

デフォルト設定でNewRelicエージェントを設定します。

- hosts: all
  roles:
    - {
        role: blackstar257.newrelic,
        newrelic_license_key: 0123456789012345678901234567890123456789,
      }

ライセンス

BSD

著者情報

オリジナルオーナー: Norman Leutner
フォーク元: blackstar257

プロジェクトについて

New Relic PHP Agent role / Application monitoring for RHEL/CentOS, Ubuntu, Debian

インストール
ansible-galaxy install blackstar257.newrelic
ライセンス
bsd-2-clause
ダウンロード
1.5k
所有者