newrelic / go-agent

New Relic Go Agent
Apache License 2.0
775 stars 295 forks source link

feat: enhance serverless debug logging #734

Closed iamemilio closed 1 year ago

iamemilio commented 1 year ago

Print the JSON payload that is generated when the go agent does a harvest in serverless mode. If the harvest contained no payload data, print a log line mentioning that.

This will help us troubleshoot serverless issues and bring us to parity with other language agents.

codecov-commenter commented 1 year ago

Codecov Report

Merging #734 (640d435) into develop (53cd82a) will decrease coverage by 1.17%. The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #734      +/-   ##
===========================================
- Coverage    93.70%   92.54%   -1.17%     
===========================================
  Files           41       34       -7     
  Lines         2003     1850     -153     
===========================================
- Hits          1877     1712     -165     
- Misses          97      103       +6     
- Partials        29       35       +6     

see 12 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more