blackstar257.newrelic

Rola Ansible: Agent PHP New Relic

Rola Ansible Status Budowy

Ta rola Ansible instaluje i konfiguruje agenta PHP New Relic na systemach opartych na RHEL/CentOS, Debian i Ubuntu.

Wymagania

Ta rola wymaga Ansible 2.4 lub nowszego.

Zmienne Roli

Nazwa Domyślna wartość Opis
newrelic_config_path "/etc/php.d" opis
newrelic_agent_extension "newrelic.so" opis
newrelic_agent_enabled true opis
newrelic_license_key "ZASTĄP_RZECZYWISTYM_KLUCZEM" opis
newrelic_agent_logfile "/var/log/newrelic/php_agent.log" opis
newrelic_agent_loglevel "info" opis
newrelic_agent_high_security false opis
newrelic_agent_appname "Aplikacja PHP" opis
newrelic_agent_process_host_display_name "" opis
newrelic_agent_daemon_logfile "/var/log/newrelic/newrelic-daemon.log" opis
newrelic_agent_daemon_loglevel "info" opis
newrelic_agent_daemon_address /tmp/.newrelic.sock opis
newrelic_agent_daemon_ssl_ca_bundle "" opis
newrelic_agent_daemon_ssl_ca_path "" opis
newrelic_agent_daemon_proxy "" opis
newrelic_agent_daemon_pidfile "" opis
newrelic_agent_daemon_location /usr/bin/newrelic-daemon opis
newrelic_agent_daemon_collector_host "" opis
newrelic_agent_daemon_dont_launch 0 opis
newrelic_agent_daemon_utilization_detect_aws true opis
newrelic_agent_daemon_utilization_detect_azure true opis
newrelic_agent_daemon_utilization_detect_gcp true opis
newrelic_agent_daemon_utilization_detect_pcf true opis
newrelic_agent_daemon_utilization_detect_docker true opis
newrelic_agent_daemon_app_timeout 10m opis
newrelic_agent_daemon_app_connect_timeout 0 opis
newrelic_agent_error_collector_enabled true opis
newrelic_agent_error_collector_ignore_user_exception_handler false opis
newrelic_agent_error_collector_ignore_exceptions "" opis
newrelic_agent_error_collector_ignore_errors "" opis
newrelic_agent_error_collector_record_database_errors false opis
newrelic_agent_error_collector_prioritize_api_errors false opis
newrelic_agent_browser_monitoring_auto_instrument true opis
newrelic_agent_transaction_tracer_enabled true opis
newrelic_agent_transaction_tracer_threshold apdex_f opis
newrelic_agent_transaction_tracer_detail 1 opis
newrelic_agent_transaction_tracer_slow_sql true opis
newrelic_agent_transaction_tracer_stack_trace_threshold 500 opis
newrelic_agent_transaction_tracer_explain_enabled true opis
newrelic_agent_transaction_tracer_explain_threshold 500 opis
newrelic_agent_transaction_tracer_record_sql obfuscated opis
newrelic_agent_transaction_tracer_custom "" opis
newrelic_agent_transaction_tracer_internal_functions_enabled false opis
newrelic_agent_framework "" opis
newrelic_agent_webtransaction_name_remove_trailing_path false opis
newrelic_agent_webtransaction_name_functions "" opis
newrelic_agent_webtransaction_name_files "" opis
newrelic_agent_daemon_auditlog "" opis
newrelic_agent_transaction_events_enabled true opis
newrelic_agent_attributes_enabled true opis
newrelic_agent_transaction_events_attributes_enabled true opis
newrelic_agent_transaction_tracer_attributes_enabled true opis
newrelic_agent_error_collector_attributes_enabled true opis
newrelic_agent_browser_monitoring_attributes_enabled false opis
newrelic_agent_attributes_include "" opis
newrelic_agent_attributes_exclude "" opis
newrelic_agent_transaction_events_attributes_include "" opis
newrelic_agent_transaction_events_attributes_exclude "" opis
newrelic_agent_transaction_tracer_attributes_include "" opis
newrelic_agent_transaction_tracer_attributes_exclude "" opis
newrelic_agent_error_collector_attributes_include "" opis
newrelic_agent_error_collector_attributes_exclude "" opis
newrelic_agent_browser_monitoring_attributes_include "" opis
newrelic_agent_browser_monitoring_attributes_exclude "" opis
newrelic_agent_feature_flag "" opis
newrelic_agent_custom_insights_events_enabled true opis
newrelic_agent_labels "" opis
newrelic_agent_synthetics_enabled true opis
newrelic_agent_cross_application_tracer_enabled true opis
newrelic_agent_distributed_tracing_enabled false opis
newrelic_agent_span_events_enabled true opis
newrelic_agent_transaction_tracer_gather_input_queries true opis
newrelic_agent_error_collector_capture_events true opis
newrelic_agent_guzzle_enabled true opis
newrelic_agent_phpunit_events_enabled false opis
newrelic_agent_datastore_tracer_instance_reporting_enabled true opis
newrelic_agent_datastore_tracer_database_name_reporting_enabled true opis
newrelic_agent_security_policies_token "" opis

Zależności

Brak

Przykład Playbooka

Skonfiguruj agenta NewRelic z ustawieniami domyślnymi.

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

Licencja

BSD

Informacje o autorze

Oryginalny właściciel: Norman Leutner Fork: blackstar257

O projekcie

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

Zainstaluj
ansible-galaxy install blackstar257.newrelic
Licencja
bsd-2-clause
Pobrania
1.5k
Właściciel