blackstar257.newrelic
Ansible 角色: New Relic PHP Agent
这个 Ansible 角色在 RHEL/CentOS、Debian 和 Ubuntu 系统上安装和配置 New Relic PHP Agent。
要求
此角色需要 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 Application" | 描述 |
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 agent。
- 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
拥有者