newrelic
Ansible Роль: New Relic PHP Агент
Эта роль Ansible устанавливает и настраивает New Relic PHP Агент на системах на базе RHEL/CentOS, Debian и Ubuntu.
Требования
Эта роль требует Ansible 2.4 или выше.
Переменные роли
Имя | По умолчанию | Описание |
---|---|---|
newrelic_config_path | "/etc/php.d" | описание |
newrelic_agent_extension | "newrelic.so" | описание |
newrelic_agent_enabled | true | описание |
newrelic_license_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
Информация об авторе
Оригинальный владелец: Норман Лойтнер Форкнут: blackstar257
О проекте
New Relic PHP Agent role / Application monitoring for RHEL/CentOS, Ubuntu, Debian
Установить
ansible-galaxy install blackstar257/ansible-newrelic-php
Лицензия
bsd-2-clause
Загрузки
1351
Владелец