All users were logged out of Bugzilla on October 13th, 2018

Set capture_params to true in the New Relic Python agent config file

RESOLVED FIXED

Status

P2
normal
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: emorley, Assigned: fubar)

Tracking

(Blocks: 1 bug)

Details

(Reporter)

Description

4 years ago
New Relic has made a recent change, that means it's no longer possible to request that params be captured via the web UI and sent me an email saying we'd need to update the config to maintain existing behaviour.

It now has to be explicitly listed in the agent config file:
/etc/newrelic/python.ini

In that file (which I presume is puppet controlled), please could you flip 'capture_params' from false to true.

Whilst you are there, could you also flip:
transaction_tracer.record_sql = obfuscated
to:
transaction_tracer.record_sql = raw

(we've done this in the web UI, but saves it being reset for new nodes)

See also:
https://docs.newrelic.com/docs/agents/python-agent/troubleshooting/emulating-legacy-server-side-parameter-configuration-python
https://docs.newrelic.com/docs/agents/python-agent/installation-configuration/python-agent-configuration#capture_params

Many thanks :-)
Flags: needinfo?(klibby)
(Assignee)

Comment 1

4 years ago
Added to prod & stage, and agents restarted.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(klibby)
Resolution: --- → FIXED
(Reporter)

Comment 2

4 years ago
Thank you :-)
(Reporter)

Updated

3 years ago
Blocks: 1223496
You need to log in before you can comment on or make changes to this bug.