Installs and configures AppNeta TraceView. The default recipe will set up the TraceView API key, Oboe instrumentation libraries, and Tracelyzer monitoring agent. Optionally, it can also be used to install and configure other TraceView instrumentation points (Apache module, PHP extension, Python module, ...).
Sign up for a TraceView account. The API key displayed on the 'Get Started' page is used for provisioning all hosts in a given account.
- Debian, Ubuntu
Tested on Ubuntu 10.04.3 LTS (Lucid) and 12.04.1 LTS (Precise).
- CentOS, RHEL, and Fedora
Tested on CentOS 6. RHEL and Fedora are not currently tested but should work with the same components as CentOS.
- apt is only required if you are on a Debian-like system.
- apache2 is only required if you are using the
traceview::apache
recipe. - python is only required if you are using the
traceview::python
recipe. - yum is only required if you are on a Red Hat-like system.
node['traceview']['access_key']
required Your TraceView API key.
node['traceview']['apache']['appname']
optional TraceView application where a node's Apache layers will be assigned to.node['traceview']['apache']['trace_mode']
optional Sets when traces should be initiated. Valid values arealways
,through
, andnever
. Defaults toalways
. Morenode['traceview']['apache']['sampling_rate']
optional The number of requests out of every million that will be traced. Modifying this value is not recommended for most use cases. More
node['traceview']['php']['appname']
optional TraceView application where a node's PHP layers will be assigned to.node['traceview']['php']['tracing']
optional Sets when traces should be initiated. Valid values arealways
,through
, andnever
. Defaults tothrough
. Morenode['traceview']['php']['sample_rate']
optional The number of requests out of every million that will be traced. Modifying this value is not recommended for most use cases. Morenode['traceview']['php']['enable_sanitize_sql']
optional Enable or disable sanitization (via query fingerprinting) of SQL queries in TraceView. Sanitization is disabled by default. Morenode['traceview']['php']['enable_wrap_error_log']
optional By setting this value to 0, you will prevent error_log messages from showing up on our Errors page, improving the signal-to-noise ratio. The default value is 1 (ie. enabled). More
Includes the traceview::apt
recipe (or traceview::yum
as appropriate), configures your /etc/tracelytics.conf
, and installs the liboboe0
, liboboe-dev
, tracelyzer
packages.
Installs libapache2-mod-oboe
and configures your /etc/apache2/mods-available/oboe.conf
.
Requires the apache2
cookbook (not a dependency of this cookbook).
Installs php-oboe
and configures /etc/php5/conf.d/oboe.ini
.
Configures the TraceView repository and installs the packaging key for apt based systems.
Uses pip
to install the oboe
Python package.
Requires the python
cookbook (not a dependency of this cookbook).
Configures the TraceView repository and installs the packaging key for yum based systems.