Agents question template
Hello! I recently setup my node app with NewRelic. Metrics are coming through fine, except I can’t see any database query information. I’m using pg to connect to postgres db. I’ve run the agent locally (windows 10) and in our production environment (linux) Would love some troubleshooting!
versions:
newrelic agent: 8.7.1
node: 8.3.2
express: 4.17.2
pg: 8.7.1
Configuration is using the following environment variables:
NEW_RELIC_ENABLED=true
NEW_RELIC_LOG_LEVEL=“debug”
NEW_RELIC_APP_NAME="—"
NEW_RELIC_LICENSE_KEY="—"
NEW_RELIC_NO_CONFIG_FILE=true
NEW_RELIC_LOG_ENABLED=true
NEW_RELIC_AUDIT_LOG_ENABLED=true
NEW_RELIC_RECORD_SQL=“obfuscated”
NEW_RELIC_SLOW_SQL_ENABLED=true
NEW_RELIC_ALLOW_ALL_HEADERS=true
NEW_RELIC_ATTRIBUTES_EXCLUDE= ‘request.headers.cookie,request.headers.authorization,request.headers.proxyAuthorization,request.headers.setCookie*,request.headers.x*,response.headers.cookie,response.headers.authorization,response.headers.proxyAuthorization,response.headers.setCookie*,response.headers.x*’
Link to my New Relic instance:
https://one.newrelic.com/nr1-core/apm-nerdlets/databases/MzM5MjI4NHxBUE18QVBQTElDQVRJT058MTA0NTA1MDY1NQ?account=3392284&duration=1800000&state=809e19a4-968f-6306-902e-596b42eb4ee1