-
Notifications
You must be signed in to change notification settings - Fork 247
/
Copy pathagent_python.rb
35 lines (33 loc) · 1.96 KB
/
agent_python.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Cookbook:: newrelic
# Resource:: agent_python
#
# Copyright:: (c) 2016, David Joos
#
actions :install, :remove
default_action :install
attribute :license, kind_of: String, required: true
attribute :config_file, kind_of: String, default: '/etc/newrelic/newrelic.ini'
attribute :cookbook, kind_of: String, default: 'newrelic'
attribute :source, kind_of: String, default: 'agent/python/newrelic.ini.erb'
attribute :app_name, kind_of: String, default: 'Python Application'
attribute :enabled, kind_of: [TrueClass, FalseClass], default: true
attribute :logfile, kind_of: String, default: '/tmp/newrelic-python-agent.log'
attribute :loglevel, kind_of: String, default: 'info'
attribute :daemon_ssl, kind_of: [TrueClass, FalseClass], default: true
attribute :high_security, kind_of: [TrueClass, FalseClass], default: false
attribute :capture_params, kind_of: [TrueClass, FalseClass], default: false
attribute :ignored_params, kind_of: String, default: ' '
attribute :transaction_tracer_enable, kind_of: [TrueClass, FalseClass], default: true
attribute :transaction_tracer_threshold, kind_of: String, default: 'apdex_f'
attribute :transaction_tracer_record_sql, kind_of: String, default: 'obfuscated'
attribute :transaction_tracer_stack_trace_threshold, kind_of: String, default: '0.5'
attribute :transaction_tracer_slow_sql, kind_of: [TrueClass, FalseClass], default: true
attribute :transaction_tracer_explain_threshold, kind_of: String, default: '0.5'
attribute :thread_profiler_enable, kind_of: [TrueClass, FalseClass], default: true
attribute :error_collector_enable, kind_of: [TrueClass, FalseClass], default: true
attribute :error_collector_ignore_errors, kind_of: String, default: ' '
attribute :error_collector_ignore_classes, kind_of: Array, default: nil
attribute :browser_monitoring_auto_instrument, kind_of: [TrueClass, FalseClass], default: true
attribute :cross_application_tracer_enable, kind_of: [TrueClass, FalseClass], default: true
attribute :feature_flag, kind_of: String, default: nil